Commit graph

213 commits

Author SHA1 Message Date
Jody Goldberg
82c39eb541 only enable the remove button when there is a selection.
2002-07-17  Jody Goldberg <jody@gnome.org>

	* mime-edit-dialog.c (mime_edit_dialog_init) : only enable the remove
	  button when there is a selection.
2002-07-17 04:29:11 +00:00
Jody Goldberg
b6e858deb7 A Pile of pending changes 2002-07-16 22:07:42 +00:00
Jody Goldberg
2c01403ed3 ui review 2002-07-10 23:42:06 +00:00
Jody Goldberg
f71755edc4 set the icon here.
2002-07-10  Jody Goldberg <jody@gnome.org>

	* mime-edit-dialog.c (mime_edit_dialog_init) : set the icon here.
2002-07-10 23:36:40 +00:00
Jody Goldberg
7bb012af08 ui review 2002-07-10 21:45:45 +00:00
Jody Goldberg
71b67b6586 ui-review 2002-07-10 17:02:59 +00:00
Jody Goldberg
d99a5aae8e disable the use of category defaults disable editing category handlers.
2002-07-09  Jody Goldberg <jody@gnome.org>

	* file-types-properties.glade : disable the use of category defaults
	* file-types-capplet.c (launch_edit_dialog) : disable editing category
	  handlers.
2002-07-10 14:42:26 +00:00
Jody Goldberg
6e5233869c be anal.
2002-06-26  Jody Goldberg <jody@gnome.org>

	* mime-type-info.c (mime_category_info_save) : be anal.
2002-06-27 01:17:39 +00:00
Jody Goldberg
f8d3fe9e7c do not trust gnome_vfs_mime_get_default_application. It silently removes
2002-06-26  Jody Goldberg <jody@gnome.org>

	* mime-type-info.c (mime_type_info_load_all) : do not trust
	  gnome_vfs_mime_get_default_application.  It silently removes
	  applications that do not exist on the current system.  That makes it
	  look like they are not being assigned.

	* mime-edit-dialog.c (validate_data) : relax the restriction here.  By
	  supplying a reasonable default to the new info it was appearing in
	  our internal data structures.  That was a useful test before we were
	  instant apply, but is no longer helpful.
2002-06-26 23:36:59 +00:00
Jody Goldberg
5651fb510e blah, test things _before_ I commit.
2002-06-26  Jody Goldberg <jody@gnome.org>

	* file-types-capplet.c (main) : blah, test things _before_ I commit.
2002-06-26 14:34:22 +00:00
Jody Goldberg
5654a0eb75 add de
2002-06-25  Jody Goldberg <jody@gnome.org>

	* mime-edit-dialog.c (mime_add_dialog_new) : add de

	* file-types-capplet.c (main) : fix cmd line arg support
	  And support optional 'file_name' as a helper for generating smarter
	  defaults.
2002-06-26 02:23:55 +00:00
Jody Goldberg
0696d2330c typo.
2002-06-25  Jody Goldberg <jody@gnome.org>

	* mime-edit-dialog.c (mime_edit_dialog_get_app) : typo.
2002-06-25 15:06:44 +00:00
Jody Goldberg
b4995826e8 http://bugzilla.gnome.org/show_bug.cgi?id=85397
2002-06-15  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=85397
	http://bugzilla.gnome.org/show_bug.cgi?id=84545
	* mime-types-model.c (mime_types_model_get_value) :
	  gtk_tree_view_search_equal_func does not like NULL.
	(IS_CATEGORY) : check for NULL.
	* file-types-capplet.c (create_dialog) : search the description not
	  the mime type.

2002-06-08  Jody Goldberg <jody@gnome.org>

	* mime-types-model.c (IS_CATEGORY) : test for null in case we are
	  stupid.

2002-06-07  Jody Goldberg <jody@gnome.org>

	* file-types-capplet.c (dialog_done_cb) : no need to save things
	  again.  The only caller had already done that.

	* mime-type-info.c (mime_type_info_save) : Don't mess with the
	  application here, it should already be setup.  However, be really
	  really anal about verifying it because I do not trust the
	  surrounding code or know it well enough to trust it.  Make sure that
	  the assigned app is on the short list of associated apps.

	* mime-category-edit-dialog.c (store_data) : Use
	  mime_edit_dialog_get_app.
	* mime-edit-dialog.c (store_data) : Use it here too.
	(mime_edit_dialog_get_app) : new.  split some duplicated code out of
	  the type and category dialogs and move it here.  Then make it
	  readable and less stupid about creating copies of existing
	  applications.  While we're at it have it handle the creation of new
	  applications, merging commands with existing applications and other
	  useful stuff.

2002-06-07  Jody Goldberg <jody@gnome.org>

	* mime-category-edit-dialog.c (store_data) : clarify and remove the
	  custom flag.

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

	* mime-edit-dialog.c (validate_data) : correct the warning about
	  invalid type, we would _not_ create one for the user :-(
	  Allow a user to optionally overwrite an existing mime type.
	  This is useful when editing.
	* mime-edit-dialog.c (store_data) : clarify and remove the custom flag.


2002-06-10  Jody Goldberg <jody@gnome.org>

	* accessibility-keyboard.c : tweak the layout as requested and adjust
	  the max slowkey delay to 500 to avoid losing the keyboard due to some
	  sort of an X problem.

2002-06-13  Jody Goldberg <jody@gnome.org>

	* gnome-keyboard-properties.c (accessibility_button_clicked) : produce
	  a better warning for failure to launch the keyboard accessibility
	  capplet.
2002-06-18 18:55:14 +00:00
Jody Goldberg
96a33b67f8 Release 2.0.0
2002-06-17  Jody Goldberg <jody@gnome.org>

	* Release 2.0.0
2002-06-17 22:10:21 +00:00
Jody Goldberg
7f1c6805e7 http://bugzilla.gnome.org/show_bug.cgi?id=85397
2002-06-15  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=85397
	http://bugzilla.gnome.org/show_bug.cgi?id=84545
	* mime-types-model.c (mime_types_model_get_value) :
	  gtk_tree_view_search_equal_func does not like NULL.
	(IS_CATEGORY) : check for NULL.
2002-06-16 03:57:23 +00:00
Jody Goldberg
9137407127 new. (fill_dialog) : mime type is always sensitive.
2002-06-05  Jody Goldberg <jody@gnome.org>

	* mime-edit-dialog.c (mime_add_dialog_new) :

	* mime-edit-dialog.c (mime_edit_editable_enters) : new.
	(fill_dialog) : mime type is always sensitive.
	(mime_edit_dialog_init) : use mime_edit_editable_enters and set the
	  default response.
	(mime_add_dialog_new) : forceably define the model before is-add and
	  set the parent.


	* model-entry.c (model_entry_insert_child) : be paranoid.  Sort the
	  mime entries too.

	* file-types-capplet.c (main) : !KLUDGE! if we are editing
	  application/octet-stream assume that people really want to create a
	  new mime type.

2002-06-04  Jody Goldberg <jody@gnome.org>

	* mime-type-info.c (mime_type_info_save) : Add a freeze/thaw around
	  the assignments.
2002-06-05 04:17:14 +00:00
Jody Goldberg
4b53a6f0bd disable debug spew.
2002-05-31  Jody Goldberg <jody@gnome.org>

	* mime-type-info.c (get_category_name) : disable debug spew.

	* model-entry.c (model_entry_insert_child) : order the categories
	nicely.
2002-05-31 20:35:52 +00:00
Jody Goldberg
041eef8721 http://bugzilla.gnome.org/show_bug.cgi?id=83545 Use the child not the
2002-05-31  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=83545
	* mime-types-model.c (mime_types_model_iter_parent) : Use the child
	  not the result.
2002-05-31 19:25:29 +00:00
Jody Goldberg
66d7504bf6 put things in Misc if they have no defined category. (get_category_name) :
2002-05-29  Jody Goldberg <jody@gnome.org>

	* mime-type-info.c (get_category_description) : put things in Misc if
	  they have no defined category.
	(get_category_name) : ditto.
2002-05-29 17:30:26 +00:00
Satyajit Kanungo
b4123f15b1 capplet_help () The Help directory is changed to user-guide.
2002-05-28 Satyajit Kanungo <satyajit.kanungo@wipro.com>

	* capplet-util.c : capplet_help () The Help directory is changed to
	  user-guide.
2002-05-29 04:14:29 +00:00
Jody Goldberg
49d1a5af36 Improve help handling.
2002-05-26  Jody Goldberg <jody@gnome.org>

	* capplet-util.c (capplet_help) : new utility.

2002-05-24  Jody Goldberg <jody@gnome.org>

	* mime-type-info.c (mime_category_info_load_all) : make this more paranoid.
	* mime-category-edit-dialog.c (update_subcategories) : Move this over
	  here.

2002-05-17  Jody Goldberg <jody@gnome.org>

	* mime-type-info.c (mime_category_info_using_custom_app) : add some
	  protection.
2002-05-27 02:53:33 +00:00
Jody Goldberg
55e3056021 http://bugzilla.gnome.org/show_bug.cgi?id=17728 (mime_type_info_save): a
2002-05-08  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=17728
	(mime_type_info_save): a patch inspired by Archit Baweja's proposal.

2002-05-09  Archit Baweja  <bighead@users.sourceforge.net>

	* mime-type-info.c (mime_type_info_set_file_extensions): free the old
	list.
2002-05-17 03:05:13 +00:00
jacob berkman
d9a3c9ab29 work around a gcc 2.96 bug (fixes #77121)
2002-05-10  jacob berkman  <jacob@ximian.com>

	* mime-type-info.c (mime_category_info_get_full_description):
	(mime_category_info_get_full_name): work around a gcc 2.96 bug
	(fixes #77121)
2002-05-10 16:39:21 +00:00
Jody Goldberg
7caf4ce36b fix path to help.
2002-05-08  Jody Goldberg <jody@gnome.org>

	* file-types-capplet.c (cb_file_type_dialog_response) : fix path to
	help.

	http://bugzilla.gnome.org/show_bug.cgi?id=81030
	* service-info.c (fill_service_apps) : we don't own the app, don't
	  free it.
2002-05-08 15:23:52 +00:00
Jody Goldberg
fa54b079f5 http://bugzilla.gnome.org/show_bug.cgi?id=80327 Doh! If the current tree
2002-04-30  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=80327
	* service-edit-dialog.c (program_changed_cb) : Doh! If the current
	tree selection is not a service then the app can be null.
2002-05-03 22:17:38 +00:00
Jody Goldberg
8d5b6e6284 always populate the details fields so a user can see what they selected.
2002-04-26  Jody Goldberg <jody@gnome.org>

	* service-edit-dialog.c (populate_app_list) : always populate the
	  details fields so a user can see what they selected.
	(program_changed_cb) : ditto.

	* service-info.c (fill_service_apps) : fix to not use freed memory.
2002-04-26 15:13:57 +00:00
Jody Goldberg
ae6a7f22ac s/execute/run/ 2002-04-23 16:01:47 +00:00
Jody Goldberg
fa05cd9201 Make instant apply and add link to Help.
2002-04-23  Jody Goldberg <jody@gnome.org>

	* model-entry.c (model_entry_save) : wrap in vfs freeze/unfreeze.
	(model_entry_append_to_dirty_list) : delete.
	(model_entry_remove_from_dirty_list) : delete.
	(model_entry_commit_dirty_list) : delete.
	(model_entry_append_to_delete_list) : delete.
	(model_entry_commit_delete_list) : delete.

	* mime-category-edit-dialog.c (store_data) : make this instant apply.
	* mime-edit-dialog.c (store_data) : ditto.
	* service-edit-dialog.c (store_data) : ditto.

	* file-types-capplet.c (cb_file_type_dialog_response) : add help and
	  change the buttons to help & close to be HIG compliant.
	(remove_cb) : make removal apply instantly.
	* file-types-properties.glade : Make the buttons Help & Close
2002-04-23 15:56:53 +00:00
Jody Goldberg
7bf0bcfc8d tidy up. (choose_cat_cb) : reorder buttons to be hig compliant.
2002-04-22  Jody Goldberg <jody@gnome.org>

	* mime-edit-dialog.c (validate_data) : tidy up.
	(choose_cat_cb) : reorder buttons to be hig compliant.
	(mime_edit_dialog_init) : ditto.
	* service-edit-dialog.c (service_edit_dialog_init) : ditto.
	* mime-category-edit-dialog.c (mime_category_edit_dialog_init) : ditto.
2002-04-22 21:34:39 +00:00
Jody Goldberg
61829b4eea set dialog title correctly when adding a service. ditto.
2002-04-22  Jody Goldberg <jody@gnome.org>

	* service-edit-dialog.c (service_edit_dialog_set_prop) : set dialog
	  title correctly when adding a service.
	* mime-edit-dialog.c (mime_edit_dialog_set_prop) : ditto.
2002-04-22 18:07:39 +00:00
Jody Goldberg
2eb29c281c Use the new hook in gnome_vfs_application_registry_get_applications to
2002-04-21  Jody Goldberg <jody@gnome.org>

	* service-info.c (fill_service_apps) : Use the new hook in
	  gnome_vfs_application_registry_get_applications to actually retrieve
	  all the applications rather than just pretending.

2002-04-21  Jody Goldberg <jody@gnome.org>

	* service-edit-dialog.c (service_edit_dialog_init) : fully disable the
	  already disable 'check content' field.  What the heck is this supposed
	  to do ?
	(fill_dialog) : ditto.
	(setup_add_dialog) : ditto.
	(store_data) : ditto.
	* file-types-properties.glade : ditto.  Having user visible widgets
	  that don't do anything is not a good idea.
2002-04-22 03:20:50 +00:00
Jody Goldberg
7da9bb59ca remove unused files 2002-04-18 13:19:43 +00:00
Jody Goldberg
9ea3c4537c Add some accelerators to buttons.
2002-04-18  Jody Goldberg <jody@gnome.org>

	* file-types-capplet-dialogs.c (initialize_edit_applications_dialog) :
	  Add some accelerators to buttons.
	(nautilus_mime_type_capplet_show_change_extension_window) : ditto.
	(run_edit_or_new_application_dialog) : and to checkboxes
	(create_application_list_item) : simplify.  No need for a label and a
	  checkbox in an hbox.

	* file-types-properties.glade : Add some accelerators to buttons and
	  checkboxes.

2002-04-12  Jody Goldberg <jody@gnome.org>

	* mime-type-info.c (mime_type_info_save) : revert part of Lauris's
	  changes that were stripping off the first character of the category.
2002-04-18 13:18:17 +00:00
jacob berkman
64a0eee134 fix improper use of guint as GType
2002-04-11  jacob berkman  <jacob@ximian.com>

	* (various files): fix improper use of guint as GType
2002-04-11 19:13:49 +00:00
Jody Goldberg
2409371641 handle the renaming 2002-04-11 15:51:19 +00:00
Jonathan Blandford
2cf880126c updated desktop files to use gnome-* instead of gnome2-* 2002-04-11 14:46:17 +00:00
Jody Goldberg
13c9efe9d6 make case insensitive.
2002-04-10  Jody Goldberg <jody@gnome.org>

	* mime-type-info.c (get_category) : make case insensitive.
2002-04-10 20:42:09 +00:00
Jody Goldberg
879418ec4c some life cycle fixes.
still case sensitive though

2002-04-07  Jody Goldberg <jody@gnome.org>

	* file-types-properties.glade : assign response ids to the buttons.

	* file-types-capplet.c (apply_cb) : delete and merge into.
	(cb_file_type_dialog_response) : here.
	(create_dialog) : connect to reponse here.
	(main) : rather than connecting to buttons directly here.

	* mime-edit-dialog.c (validate_data) : actually display the dialog.
	(fill_dialog) : Add some protection.
	(safe_set_entry) : new safety utility.
2002-04-10 20:11:02 +00:00
Jonathan Blandford
6f1fa592ec Change gnome2-* to gnome-* ditto ditto ditto ditto ditto ditto ditto ditto
Tue Apr  9 11:43:08 2002  Jonathan Blandford  <jrb@gnome.org>

	* capplets/accessibility/keyboard/Makefile.am: Change gnome2-* to
	gnome-*
	* capplets/default-applications/Makefile.am: ditto
	* capplets/file-types/Makefile.am: ditto
	* capplets/font/Makefile.am: ditto
	* capplets/keyboard/Makefile.am: ditto
	* capplets/mouse/Makefile.am: ditto
	* capplets/sound/Makefile.am: ditto
	* capplets/theme-switcher/Makefile.am: ditto
	* capplets/ui-properties/Makefile.am: ditto
	* control-center/Makefile.am: ditto
	* gnome-settings-daemon/Makefile.am: ditto

	* gnome-keybinding-properties.c (setup_dialog): man, was this code
	silly.  Also, themes are case sensitive.
	(is_metacity_running): Add support for metacity keybindings.  This
	is off by default until I write code to actually detect metacity.

Tue Apr  9 11:58:10 2002  Jonathan Blandford  <jrb@gnome.org>

	* Makefile.am: Add commented out disk support until I finish the code.
2002-04-10 06:08:08 +00:00
Bradford Hovinen
72fc255e13 Don't signal row deleted or reset tmp->next if the child node was not
2002-04-07  Bradford Hovinen  <hovinen@ximian.com>

	* model-entry.c (model_entry_remove_child): Don't signal row
	deleted or reset tmp->next if the child node was not found
2002-04-08 02:42:06 +00:00
jacob berkman
21be41f15f show 'unknown' in the protocol name for the unknown protocol
2002-04-02  jacob berkman  <jacob@ximian.com>

	* service-edit-dialog.c (fill_dialog): show 'unknown' in the
	protocol name for the unknown protocol
	(validate_data): actually run and destroy the error dialogs
2002-04-02 22:32:23 +00:00
Jody Goldberg
5f8c1ab1b2 add some protection for when there is no default.
2002-03-30  Jody Goldberg <jody@gnome.org>

	* mime-edit-dialog.c (populate_component_list) : add some protection
	  for when there is no default.
2002-03-30 07:16:14 +00:00
Lauris Kaplinski
9f3911865f Fixed some crashes and made capplet to save/load new mime types the right
way (I hope). We still mess up TreeModel if adding new entries - no idea
where in model impl that resides.
2002-03-30 02:05:22 +00:00
Richard Hestilow
ec08294088 Committed patches by Lauris Kaplinski for bugs 73571, 73587, and 71613.
2002-03-11  Richard Hestilow <hestilow@ximian.com>

	* Committed patches by Lauris Kaplinski for bugs 73571, 73587,
	and 71613.
2002-03-12 01:35:40 +00:00
Kjartan Maraas
b70c4fc684 s/PACKAGE/GETTEXT_PACKAGE/g
2002-02-27  Kjartan Maraas  <kmaraas@gnome.org>

	* file-types-applet.c: s/PACKAGE/GETTEXT_PACKAGE/g
2002-02-27 22:15:07 +00:00
Kjartan Maraas
d2f3b62d36 Remove translatable="yes" from icon labels. Remnant of a bug in
2002-02-23  Kjartan Maraas  <kmaraas@gnome.org>

	* capplets/default-applications/gnome-default-applications-properties.glade:
	Remove translatable="yes" from icon labels. Remnant of a bug in
	libglade-convert. (Thanks to James).
	* capplets/file-types/file-types-properties.glade: Same
	* capplets/keyboard/gnome-keyboard-properties.glade: Same
	* capplets/mouse/gnome-mouse-properties.glade: Same.
	* capplets/ui-properties/gnome2-ui-properties.glade: Same
	* control-center/gnomecc.glade: Same
2002-02-23 13:52:21 +00:00
Mark McLoughlin
b4e13fdaf5 use the proper executable name.
2002-02-20  Mark McLoughlin  <mark@skynet.ie>

        * file-types.desktop.in: use the proper executable name.
2002-02-20 10:42:55 +00:00
Bradford Hovinen
2b3314202e Retrieve the icon here
2002-02-17  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (mime_type_info_new): Retrieve the icon here
2002-02-18 01:04:07 +00:00
Bradford Hovinen
7b893ea56a Try to find the icon from the MIME type. (mime_type_info_get_icon_path):
2002-02-17  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (get_icon_pixbuf): Try to find the icon from
	the MIME type.
	(mime_type_info_get_icon_path): Fetch the icon name from the MIME
	type if necessary
	(get_icon_pixbuf): Call get_real_icon_path
	(get_real_icon_path): Implement. Factor from
	mime_type_info_get_icon_path
	(mime_type_info_get_icon_path): Call get_real_icon_path
2002-02-18 00:54:58 +00:00
Gediminas Paulauskas
e48aab4399 more silence 2002-02-17 23:05:10 +00:00