Commit graph

1949 commits

Author SHA1 Message Date
Richard Hestilow
b1ee65a8ef Bump version to 1.99.1.
2002-01-28  Richard Hestilow <hestilow@ximian.com>

	* configure.in: Bump version to 1.99.1.

	* RELEASE: 1.99.1
2002-01-29 01:13:34 +00:00
Richard Hestilow
888b9aa637 Link to libbackground.la.
2002-01-28  Richard Hestilow  <hestilow@ximian.com>

	* Link to libbackground.la.
2002-01-29 00:18:55 +00:00
Duarte Loreto
e699ee819e Updated Portuguese translation.
2002-01-28  Duarte Loreto <happyguy_pr@hotmail.com>

        * pt.po: Updated Portuguese translation.
2002-01-28 23:28:05 +00:00
Duarte Loreto
a809ef2f80 Updated Portuguese translation.
2002-01-28  Duarte Loreto <happyguy_pr@hotmail.com>

        * pt.po: Updated Portuguese translation.
2002-01-28 23:25:14 +00:00
Duarte Loreto
60a80d18bd Fixed a i18n glitch (missing space between two words)
2002-01-28  Duarte Loreto <happyguy_pt@hotmail.com>

        * mime-edit-dialog.c: Fixed a i18n glitch (missing space between two words)
2002-01-28 23:20:10 +00:00
Richard Hestilow
854bba1f07 Include gconf-client.h, add trailing NULLs to all gconf_client calls (for
2002-01-28  Richard Hestilow  <hestilow@ximian.com>

	* main.c: Include gconf-client.h, add trailing NULLs to all
	gconf_client calls (for GError).
2002-01-28 23:13:42 +00:00
Richard Hestilow
e7be78a1bd Use libtool to create the static library, thus allowing shlibs to link to
2002-01-28  Richard Hestilow  <hestilow@ximian.com>

	* Makefile.am: Use libtool to create the static library, thus
	allowing shlibs to link to libbackground (needed for metatheme).
2002-01-28 22:40:28 +00:00
Hasbullah Bin Pit
4366b65be5 Updated Malay Translation.
2002-01-28  Hasbullah Bin Pit <sebol@ikhlas.com>

        * ms.po: Updated Malay Translation.
2002-01-28 20:25:53 +00:00
Laszlo Peter
a02d04c48b s/__FUNCTION__/G_GNUC_FUNCTION/ ditto ditto ditto change "test $x == y" to
2002-01-28  Laszlo Peter  <laca@ireland.sun.com>

	* archiver/location.c: s/__FUNCTION__/G_GNUC_FUNCTION/
	* capplets/common/capplet-util.c: ditto
	* capplets/common/capplet-util.h: ditto
	* libbackground/preferences.c: ditto
	* applets/common/wrapper-script.in: change "test $x == y" to
	  "test $x = y" for portability
2002-01-28 19:55:29 +00:00
Bradford Hovinen
66fa37fc6e Set custom program entry and needs terminal here
2002-01-28  Bradford Hovinen  <hovinen@ximian.com>

	* service-edit-dialog.c (populate_app_list): Set custom program
	entry and needs terminal here

	* service-info.c (service_info_using_custom_app): Implement

	* service-edit-dialog.c (populate_app_list): Add destroy notify
	for app

	* service-info.[ch]: Eliminate custom_line and needs_terminal; use
	app for that
2002-01-28 19:08:14 +00:00
Bradford Hovinen
049ab3cb31 Use gnome_vfs_application_registry_get_applications
2002-01-28  Bradford Hovinen  <hovinen@ximian.com>

	* mime-edit-dialog.c (populate_application_list): Use
	gnome_vfs_application_registry_get_applications
2002-01-28 18:45:27 +00:00
Bradford Hovinen
a2b1d26374 Implement
2002-01-28  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (mime_type_info_using_custom_app)
	(mime_category_info_using_custom_app): Implement

	* mime-edit-dialog.c (store_data): Update: don't use custom_line,
	needs_terminal

	* mime-type-info.[ch]: Eliminate custom_line and needs_terminal;
	will use default_action for that now
2002-01-28 18:39:42 +00:00
Bradford Hovinen
31dd650951 Don't set tmp1 with the full category name, free tmp too
2002-01-28  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (mime_category_info_save): Don't set tmp1 with
	the full category name, free tmp too
	(mime_category_info_load_all): strdup app->command
	(get_gconf_base_name): Don't put /default-action-id after the key
	name

	* category-names.h: Update category names
2002-01-28 17:34:25 +00:00
Bradford Hovinen
2073f4108f Fix logic (mime_type_info_load_all): Don't load default_action if
2002-01-28  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (update_subcategories): Fix logic
	(mime_type_info_load_all): Don't load default_action if
	custom_line is set

	* mime-category-edit-dialog.c (store_data): Call
	mime_category_info_update
	(store_data): Don't notify the model -- nothing there could have
	changed

	* mime-type-info.c (mime_category_info_update): Implement
	(update_subcategories): Update; split from set_subcategory_ids

	* mime-category-edit-dialog.c (populate_application_list): Notify
	destruction with gnome_vfs_mime_application_free
	(store_data): Store default action
	(store_data): Store custom line, needs terminal
	(populate_application_list): Set needs_terminal_toggle

	* mime-type-info.c (mime_type_info_get_use_category):
	Implement. Factor from mime_type_info_load_all
	(find_possible_supported_apps, reduce_supported_app_list): Use
	mime_type_info_get_use_category
	(get_gconf_base_name): Replace parentheses with '-'
	(mime_category_info_load_all): Only load default action, custom
	line if not already loaded

	* mime-edit-dialog.c (populate_component_list): Use get_all_components
	(populate_application_list): Use get_all_applications
2002-01-28 16:43:40 +00:00
Seth Nickell
77558b138d Add Categories field.
2002-01-27  Seth Nickell  <snickell@stanford.edu>

	* gtk-theme-selector.desktop.in.in:

	Add Categories field.
2002-01-28 07:58:19 +00:00
Seth Nickell
b28ff0a7d4 Add Categories field.
2002-01-27  Seth Nickell  <snickell@stanford.edu>

	* behavior.desktop.in:

	Add Categories field.
2002-01-28 07:20:31 +00:00
Seth Nickell
6af0d75aeb Add categories field.
2002-01-27  Seth Nickell  <snickell@stanford.edu>

	* cd.desktop.in.in:
	* legacy-applications.desktop.in.in:
	* panel.desktop.in.in:
	* session.desktop.in.in:

	Add categories field.
2002-01-28 07:17:07 +00:00
Seth Nickell
7f372be24c Add Categories field.
2002-01-27  Seth Nickell  <snickell@stanford.edu>

	* file-types.desktop.in:

	Add Categories field.
2002-01-28 07:16:24 +00:00
Seth Nickell
6b34436f3e Add categories field to .desktop file.
2002-01-27  Seth Nickell  <snickell@stanford.edu>

	* sound.desktop.in:

	Add categories field to .desktop file.
2002-01-28 06:50:23 +00:00
Bradford Hovinen
f4e6703fe9 Implement (main): Connect to dialog_done_cb
2002-01-27  Bradford Hovinen  <hovinen@ximian.com>

	* file-types-capplet.c (dialog_done_cb): Implement
	(main): Connect to dialog_done_cb

	* mime-edit-dialog.c (mime_edit_dialog_class_init): Add done
	signal
	(response_cb): Emite done signal
2002-01-28 02:56:07 +00:00
Bradford Hovinen
fadeef3e41 Always set run_program to TRUE
2002-01-27  Bradford Hovinen  <hovinen@ximian.com>

	* service-info.c (service_info_load_all): Always set run_program
	to TRUE

	* service-edit-dialog.c (fill_dialog): Disable look at content toggle
2002-01-28 02:29:44 +00:00
Christian Rose
04270a79b5 Updated and converted to UTF-8.
2002-01-27  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated and converted to UTF-8.
2002-01-27 21:29:53 +00:00
Bradford Hovinen
1346c8811b Call _get_mime_application
2002-01-27  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (mime_category_info_load_all): Call
	_get_mime_application
2002-01-27 20:34:00 +00:00
Bradford Hovinen
00c28ff090 Added capplets/file-types/category-names.h
2002-01-27  Bradford Hovinen  <hovinen@ximian.com>

	* POTFILES.in: Added capplets/file-types/category-names.h
2002-01-27 20:08:22 +00:00
Bradford Hovinen
09ba137cf2 Invoke gettext macro on the category name
2002-01-27  Bradford Hovinen  <hovinen@ximian.com>

	* mime-types-model.c (mime_types_model_get_value): Invoke gettext
	macro on the category name

	* category-names.h: Add this file
2002-01-27 20:07:30 +00:00
Bradford Hovinen
f815a95d18 Typo bug fix
2002-01-27  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (get_gconf_base_name): Typo bug fix
2002-01-27 20:00:34 +00:00
Bradford Hovinen
9b549da9bf Implement
2002-01-27  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (get_gconf_base_name): Implement

	* mime-category-edit-dialog.c (fill_dialog): Disable
	use_category_toggle if this is a toplevel category
	(populate_application_list, default_action_changed_cb)
	(use_category_toggled_cb, update_sensitivity): Set widget
	sensitivity based on various values

	* mime-type-info.c (mime_type_info_load_all)
	(mime_category_info_load_all): Check use_[parent_]cat_loaded
	(mime_category_info_load_all): Override use_parent_category with
	FALSE if this is a toplevel category
2002-01-27 19:54:56 +00:00
Hasbullah Bin Pit
e34f1df774 Updated Malay Translation.
2002-01-27  Hasbullah Bin Pit <sebol@ikhlas.com>

        * ms.po: Updated Malay Translation.
2002-01-27 19:52:23 +00:00
Bradford Hovinen
3e7ed33e41 Don't set subcategory ids unless use_parent_category is set
2002-01-27  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (set_subcategory_ids): Don't set subcategory
	ids unless use_parent_category is set
	(mime_category_info_save, mime_category_info_load_all): Get/set
	use_parent_category
	(reduce_supported_app_list, find_possible_supported_apps): Check
	use_parent_category field
2002-01-27 19:09:37 +00:00
Bradford Hovinen
569a91f30c Use mime_category_info_get_full_name
2002-01-27  Bradford Hovinen  <hovinen@ximian.com>

	* mime-edit-dialog.c (choose_cat_cb): Use
	mime_category_info_get_full_name

	* mime-type-info.c (mime_type_info_load_all, mime_type_info_save):
	Rename override_category as use_category; give it the opposite
	meaning
	(reduce_supported_app_list, find_possible_supported_apps): Update
	according to the above
	(set_subcategory_ids): Implement
	(mime_category_info_save): Implement
	(mime_category_info_load_all): Implement
	(mime_category_info_get_full_name): Implement; copy from
	mime_type_info_get_category_name
	(mime_type_info_get_category_name): Call
	mime_category_info_get_full_name
2002-01-27 19:02:15 +00:00
Richard Hestilow
c51fe98a6d Rename as MAINTAINERCLEANFILES.
2002-01-27  Richard Hestilow <hestilow@ximian.com>

	* Makefile.am (CLEANFILES): Rename as MAINTAINERCLEANFILES.
2002-01-27 18:44:05 +00:00
Richard Hestilow
aade47f766 Include string.h. (create_form): Defer modifying default rc files until
2002-01-27  Richard Hestilow  <hestilow@ximian.com>

	* control/control.c: Include string.h.
	(create_form): Defer modifying default rc files until property is set.
	(set_prop_cb): Set default files here instead.
2002-01-27 18:42:15 +00:00
Bradford Hovinen
e83a9693b3 Rename override_category as use_category; give it the opposite meaning
2002-01-27  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (mime_type_info_load_all, mime_type_info_save):
	Rename override_category as use_category; give it the opposite
	meaning
	(reduce_supported_app_list, find_possible_supported_apps): Update
	according to the above
2002-01-27 18:37:07 +00:00
Bradford Hovinen
5b53898068 Set use_category_defaults_toggle (store_data): Set override_category
2002-01-27  Bradford Hovinen  <hovinen@ximian.com>

	* mime-edit-dialog.c (fill_dialog): Set
	use_category_defaults_toggle
	(store_data): Set override_category
	(mime_edit_dialog_init): Connect to
	use_category_defaults_toggled_cb
	(use_category_defaults_toggle_cb): Implement
	(default_action_changed_cb, populate_application_list)
	(populate_component_list): Call update_sensitivity; set
	sensitivity-controlling flags
	(update_sensitivity): Implement
2002-01-27 17:41:06 +00:00
Bradford Hovinen
e32444ef56 Call get_service_info to handle case where the service was created and not
2002-01-27  Bradford Hovinen  <hovinen@ximian.com>

	* service-edit-dialog.c (validate_data): Call get_service_info to
	handle case where the service was created and not yet committed

	* mime-type-info.c (get_mime_type_info, get_mime_type_info_int):
	Implement

	* mime-edit-dialog.c (validate_data): Check if the MIME type is
	already known and we are adding a new type

	* service-edit-dialog.c (service_edit_dialog_init): Change dialog
	title

	* file-types-capplet.c (edit_count_cb): Rename from count_cb
	(selection_changed_cb): Initialize count
	(selection_changed_cb): Iterate on remove_count_cb and use that to
	set the sensitivity of the remove button
	(create_dialog): Desensitize the remove button
2002-01-27 16:58:43 +00:00
Bradford Hovinen
ee69787f7d Set the parent field (model_entry_remove_child): Reset the parent field
2002-01-27  Bradford Hovinen  <hovinen@ximian.com>

	* model-entry.c (model_entry_insert_child): Set the parent field
	(model_entry_remove_child): Reset the parent field
	(model_entry_remove_child): Set up the path before removing the
	entry from the list
2002-01-27 16:30:07 +00:00
Bradford Hovinen
6a3797bfc5 Accept model (get_services_category_entry): Accept model
2002-01-27  Bradford Hovinen  <hovinen@ximian.com>

	* service-info.c (load_all_services): Accept model
	(get_services_category_entry): Accept model
	(service_info_new): Accept model
	(get_services_category_entry): Set the parent pointer

	* model-entry.c (get_model_entries): Accept model

	* mime-type-info.c (mime_type_info_new, load_all_mime_types):
	Accept model

	* mime-edit-dialog.c (store_data): Don't perform notification

	* model-entry.c (model_entry_insert_child)
	(model_entry_remove_child): Perform notification here

	* mime-type-info.c (mime_type_info_set_category_name): Accept
	model for notification purposes
	(get_category): Ditto; notify the model that the new category has
	been created

	* mime-types-model.c (mime_types_model_iter_parent): Make the
	iterator invalid if the parent is the root node

	* mime-edit-dialog.c (collect_filename_extensions): Return NULL if
	there are no nodes in the tree at all
2002-01-27 16:18:36 +00:00
Roy-Magne Mo
ffc7207157 Updated Norwegian nynorsk translation 2002-01-27 01:37:03 +00:00
Andraz Tori
9fadbbf597 Updated Slovenian translation 2002-01-26 20:03:42 +00:00
Bradford Hovinen
54d540dd47 Free the structure if the user clicks cancel and this is an add dialog
2002-01-26  Bradford Hovinen  <hovinen@ximian.com>

	* service-edit-dialog.c (response_cb): Free the structure if the
	user clicks cancel and this is an add dialog

	* mime-edit-dialog.c (response_cb): Free the structure if the user
	clicks cancel and this is an add dialog

	* service-info.c (load_all_services): Call
	model_entry_insert_child here
	(service_info_new): Don't call model_entry_insert_child
	(get_services_category_entry): Make this public

	* service-edit-dialog.c (store_data): Call
	model_entry_insert_child here
2002-01-26 18:30:32 +00:00
Bradford Hovinen
d8c7752324 Implement (find_possible_supported_apps): Implement
2002-01-26  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (intersect_lists, reduce_supported_app_list)
	(mime_category_info_find_apps): Implement
	(find_possible_supported_apps): Implement

	* mime-category-edit-dialog.c (mime_category_edit_dialog_init):
	Use mime_category_edit_widget for the dialog source

	* model-entry.c (model_entry_remove_from_dirty_list): Accept a
	ModelEntry structure

	* mime-category-edit-dialog.c (store_data): Call
	model_entry_append_to_dirty_list

	* service-edit-dialog.c (store_data): Call
	model_entry_append_to_dirty_list
2002-01-26 16:24:45 +00:00
Bradford Hovinen
fbdb86b151 Desensitize component select (populate_application_list): Desensitize
2002-01-25  Bradford Hovinen  <hovinen@ximian.com>

	* mime-category-edit-dialog.c (fill_dialog): Desensitize component
	select
	(populate_application_list): Desensitize application select if
	there are no applications
	(fill_dialog): Flip logic on category defaults toggle sensitivity

	* service-edit-dialog.c (populate_app_list): Desensitize program
	select if there are no programs
	(fill_dialog): Use service_info_get_description for description
	entry
2002-01-25 20:55:44 +00:00
Bradford Hovinen
e9c8acc492 Construct an iterator if the one given is NULL (store_data): Don't notify
2002-01-25  Bradford Hovinen  <hovinen@ximian.com>

	* mime-edit-dialog.c (store_data): Construct an iterator if the
	one given is NULL
	(store_data): Don't notify row deletion if the object was not in
	the model to begin with
	(store_data): Don't fetch the old path if this is an add dialog
	(populate_component_list): Desensitize the component select box if
	there are no components
	(populate_application_list): Ditto

	* mime-type-info.c (mime_type_info_new): Initialize the parent
	field even if the mime type field is NULL
	(mime_type_info_get_category_name): Don't crash if the parent
	field is NULL

	* mime-edit-dialog.c (store_data): Generate random MIME type if
	not already set
	(validate_data): Implement. Make sure all the data entered are valid
	(response_cb): Call validate_data

	* file-types-capplet.c (remove_cb): Check the entry type and
	notify the tree of the deletion; update according to earlier
	changes

	* mime-edit-dialog.c: Add property is-add
	(setup_add_dialog): Implement
	(add_ext_cb): Clear the entry after adding
	(choose_cat_cb): Pack the tree in a scrolled window
	(choose_cat_cb): Set the minimum size on the dialog to 300x300
2002-01-25 20:27:10 +00:00
Bradford Hovinen
7b769d453f Free icon_path
2002-01-25  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (mime_type_info_free): Free icon_path

	* mime-edit-dialog.c (fill_dialog): Set icon entry with the full
	path of the icon

	* mime-type-info.c (mime_type_info_get_icon_path):
	Implement. Factor from get_pixbuf

	* mime-edit-dialog.c (store_data): Reset the icon pixbufs so that
	they get reloaded

	* mime-type-info.c (get_icon_pixbuf): Use
	gnome_vfs_icon_path_from_filename and install the nautilus/ hack
	from the old capplet *sigh*
2002-01-25 17:27:02 +00:00
Bradford Hovinen
1a3c89e420 Code cleanup; create our own model rather than using GtkTreeStore Update
2002-01-24  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.[ch], mime-types-model.[ch], service-info.[ch]:
	Code cleanup; create our own model rather than using GtkTreeStore
	* All: Update to reflect the above
2002-01-25 16:12:01 +00:00
Jonathan Blandford
7e937b1ca2 Keep ACLOCAL_FLAGS around, and actually use the gnome-vfs cflags/libs.
Tue Jan 22 16:20:21 2002  Jonathan Blandford  <jrb@redhat.com>

	* configure.in: Keep ACLOCAL_FLAGS around, and actually use the
	gnome-vfs cflags/libs.
2002-01-22 21:29:21 +00:00
Richard Hestilow
be83a3ec51 Remerge control-center-plus.
2002-01-21  Richard Hestilow <hestilow@ximian.com>

	* Remerge control-center-plus.
2002-01-22 03:13:30 +00:00
Richard Hestilow
836434f1f0 Use nautilus as the shell if it is already running.
2002-01-21  Richard Hestilow  <hestilow@ximian.com>

	* main.c: Use nautilus as the shell if it is already running.
2002-01-21 22:44:12 +00:00
Anders Carlsson
6b980e6eaa Add support for changing themes.
2002-01-21  Anders Carlsson  <andersca@gnu.org>

	* gnome-settings-xsettings.c: Add support for changing themes.
2002-01-21 21:57:50 +00:00
Anders Carlsson
a080e40edc Get the theme name right.
2002-01-21  Anders Carlsson  <andersca@gnu.org>

	* main.c: Get the theme name right.
2002-01-21 21:46:55 +00:00