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 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 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-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-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 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 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-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-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 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
Install icon into the standard pixmaps directory
so that Panel & Nautilus will pick up on it.