* gnome-desktop-item-edit.c: (main): use
panel_ditem_editor_new_directory() when it makes sense
* panel-ditem-editor.[ch]: add a new type-directory construct-only
property to know if the file is for .directory files
(panel_ditem_editor_constructor): set the Type key to directory if
we're editing a .directory file, and cache this information in
type_directory
(panel_ditem_editor_get_property): updated for new property
(panel_ditem_editor_set_property): updated for new property
(panel_ditem_editor_class_init): updated for new property
(panel_ditem_editor_get_item_type): properly handle the .directory
case
(panel_ditem_editor_setup_ui): don't show the combo if we edit a new
.directory file
(panel_ditem_editor_init): update
(setup_icon_entry): update
(panel_ditem_editor_save): update, and make the error message
.directory aware
(panel_ditem_editor_new_full): new
(panel_ditem_editor_new): update to call panel_ditem_editor_new_full()
(panel_ditem_editor_new_directory): new
(panel_ditem_editor_set_type_directory): new
(panel_ditem_editor_get_type_directory): new
Fix bug #437940
The bug has been fixed with 2.19.3 in gutsy:
2007-05-25 Vincent Untz <email address hidden>
* gnome-desktop- item-edit. c: (main): use ditem_editor_ new_directory( ) when it makes sense editor. [ch]: add a new type-directory construct-only ditem_editor_ constructor) : set the Type key to directory if ditem_editor_ get_property) : updated for new property ditem_editor_ set_property) : updated for new property ditem_editor_ class_init) : updated for new property ditem_editor_ get_item_ type): properly handle the .directory ditem_editor_ setup_ui) : don't show the combo if we edit a new ditem_editor_ init): update icon_entry) : update ditem_editor_ save): update, and make the error message ditem_editor_ new_full) : new ditem_editor_ new): update to call panel_ditem_ editor_ new_full( ) ditem_editor_ new_directory) : new ditem_editor_ set_type_ directory) : new ditem_editor_ get_type_ directory) : new
panel_
* panel-ditem-
property to know if the file is for .directory files
(panel_
we're editing a .directory file, and cache this information in
type_directory
(panel_
(panel_
(panel_
(panel_
case
(panel_
.directory file
(panel_
(setup_
(panel_
.directory aware
(panel_
(panel_
(panel_
(panel_
(panel_
Fix bug #437940