Commit graph

749 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Anders Carlsson
cae7461c17 Use a GtkTreeView instead of a clist.
2002-01-21  Anders Carlsson  <andersca@gnu.org>

	* control/control.c (create_form): Use a GtkTreeView instead of a
	clist.
2002-01-21 17:04:44 +00:00
Richard Hestilow
d5d2f1de7b Complete rewrite.
2002-01-21  Richard Hestilow  <hestilow@ximian.com>

	* Complete rewrite.
2002-01-21 07:16:19 +00:00
Jonathan Blandford
d56503be2a Move locate_pointer out.
Mon Jan 21 01:29:57 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-settings-keyboard.c: Move locate_pointer out.

	* gnome-settings-mouse.c: Move locate_pointer in.  Clean up code.
	Remove print statements.
2002-01-21 06:38:45 +00:00
Seth Nickell
4669c9317d Install icons into the pixmaps directory so the Panel & Nautilus will pick
2002-01-19  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:

	Install icons into the pixmaps directory so the Panel
	& Nautilus will pick up on them.
2002-01-19 15:18:33 +00:00
Seth Nickell
58be34e064 Install the icon into the standard pixmaps dir so the Panel & Nautilus
2002-01-19  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:

	Install the icon into the standard pixmaps dir so
	the Panel & Nautilus will pick up on it.
2002-01-19 15:16:24 +00:00
Seth Nickell
d5ee896e9f Install the icon into the pixmaps dir so the Panel & Nautilus will pick up
2002-01-19  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:

	Install the icon into the pixmaps dir so
	the Panel & Nautilus will pick up on it.
2002-01-19 15:15:43 +00:00
Seth Nickell
9a79b122dc Install icon into the standard pixmaps directory so that Panel & Nautilus
2002-01-19  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:

	Install icon into the standard pixmaps directory
	so that Panel & Nautilus will pick up on it.
2002-01-19 15:14:50 +00:00
Jakub Steiner
f705ff5540 tweak the icon a bit 2002-01-17 20:58:51 +00:00
Jonathan Blandford
7113193d0c clean up directory 2002-01-16 05:43:18 +00:00
Rachel Hestilow
b3ef023780 Forgot to add this. 2002-01-15 23:28:23 +00:00
Richard Hestilow
9c985fe0cd .
2002-01-15  Richard Hestilow <hestilow@ximian.com>

	* (Many "make distcheck" fixes).
2002-01-15 20:45:34 +00:00
Bradford Hovinen (Gdict maintainer)
d3ed7b29b2 Updates to pass distcheck 2002-01-14 21:30:29 +00:00
Bradford Hovinen
5aa592f68b Compile common first
2002-01-14  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/Makefile.am (always_built_SUBDIRS): Compile common first
2002-01-14 21:13:08 +00:00
Bradford Hovinen (Gdict maintainer)
9bf50c9911 Update 2002-01-14 21:12:20 +00:00
Jonathan Blandford
33a1451ddc add file so make dist can get it 2002-01-14 21:06:03 +00:00
Bradford Hovinen
b75d11e4cb Update (desktopfilesdir): Update
2002-01-14  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am ($(desktop_in_files)): Update
	(desktopfilesdir): Update

	* Sawfish/Makefile.am (pixmapsdir): Update
2002-01-14 20:57:16 +00:00
Jonathan Blandford
04828ee8cc forgot a file 2002-01-14 20:34:16 +00:00
Bradford Hovinen (Gdict maintainer)
4c56d1ef3f Update Makefile.am 2002-01-14 20:29:51 +00:00
Bradford Hovinen (Gdict maintainer)
a4e4c5cc88 Update .desktop.in scheme 2002-01-14 20:26:33 +00:00
Jonathan Blandford
a02f5d7b53 Rewritten. Works with new gconf. Fun Fun. 2002-01-14 20:24:46 +00:00
Bradford Hovinen (Gdict maintainer)
2f6e28dcdd Update to be parallel installable with gnome2-* binary name convention 2002-01-14 19:48:43 +00:00
Bradford Hovinen (Gdict maintainer)
ce01a530be Renamed binaries with the convention gnome2-* so as to be guaranteed
fully parallel installable (and consistent)
2002-01-14 19:30:34 +00:00
Bradford Hovinen (Gdict maintainer)
912bd0a83c Moved sound.desktop.in.in to sound.desktop.in 2002-01-14 19:21:24 +00:00
Bradford Hovinen
6531b64e1c Update
2002-01-14  Bradford Hovinen  <hovinen@ximian.com>

	* Sawfish/Makefile.am (pixmapsdir): Update
2002-01-14 18:47:02 +00:00
Bradford Hovinen
3f8efae18f Update
2002-01-14  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am: Update
2002-01-14 18:39:01 +00:00
Bradford Hovinen
57513c09d7 Added ui-properties back in
2002-01-14  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/Makefile.am (SUBDIRS): Added ui-properties back in

	* capplets/ui-properties/main.c (main): Remove Ximian archiver stuff

	* capplets/ui-properties/*.c: Change GNOMECC_blah_DIR to
	GNOMECC_DATA_DIR "/blah
2002-01-14 18:31:38 +00:00
Richard Hestilow
26c2c85107 Gnome 2 port. (Settings only halfway work right now.)
2002-01-14  Richard Hestilow  <hestilow@ximian.com>

	* Gnome 2 port. (Settings only halfway work right now.)
2002-01-14 18:25:44 +00:00