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-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-15 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=85397http://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-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-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-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-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-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-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-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-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-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.
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.
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-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-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-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-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