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.
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-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-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-14 Bradford Hovinen <hovinen@ximian.com>
* mime-category-edit-dialog.c (populate_application_list):
Implement. Mostly a copy from the corresponding function in
mime-edit-dialog.c
* mime-types-model.c (get_insertion_point): Make this public
(find_supported_apps_for_category, reduce_supported_app_list)
(intersect_lists, find_possible_supported_apps): Implement
* mime-edit-dialog.c (fill_dialog): Fill category_entry
(choose_cat_cb): Implement
(mime_edit_dialog_init): Connect choose_button to choose_cat_cb
* mime-type-info.c (mime_type_info_load): Load category name
(mime_type_info_save): Call reinsert_iter to affect category name
change
* mime-types-model.c (mime_types_model_new): Add parameter
is_category_select; TRUE iff this model should be only for
selecting a category and not list the actual file types or
Internet services
(get_category_name): Implement
* mime-edit-dialog.c (mime_edit_dialog_init): Add category_label
to first size group
2002-01-13 Bradford Hovinen <hovinen@ximian.com>
* file-types-capplet.c (edit_cb, row_activated_cb): Don't try to
create a category edit dialog if this is the Internet Services
category
(count_cb): Only count other than internet services category
* mime-types-model.c (model_entry_is_category): Implement
(model_entry_is_protocol): Use categories[INTERNET_SERVICES_IDX]
rather than string
(model_entry_is_internet_services_category): Implement
* Makefile.am (gnome_file_types_properties_SOURCES): Add
mime-category-edit-dialog.[ch]
* file-types-capplet.c (edit_cb): Construct a category edit dialog
if the tree iterator has children
(row_activated_cb): Ditto
2002-01-11 Bradford Hovinen <hovinen@ximian.com>
* mime-edit-dialog.c (default_action_changed_cb): Set sensitivity
of needs_terminal_toggle
(store_data): Set needs_terminal
(fill_dialog): Set needs_terminal_toggle