diff options
author | Dan Winship <danw@src.gnome.org> | 2002-08-07 04:25:10 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-08-07 04:25:10 +0800 |
commit | eb83dd4dd0cc797f1a83fbcd99a41cb4723a0e51 (patch) | |
tree | 1880be2937e42c3727fc20e8862c172a53fab51a /shell | |
parent | 56aa60771f4ea7d08fe06e0c0d436ab389b15679 (diff) | |
download | gsoc2013-evolution-eb83dd4dd0cc797f1a83fbcd99a41cb4723a0e51.tar gsoc2013-evolution-eb83dd4dd0cc797f1a83fbcd99a41cb4723a0e51.tar.gz gsoc2013-evolution-eb83dd4dd0cc797f1a83fbcd99a41cb4723a0e51.tar.bz2 gsoc2013-evolution-eb83dd4dd0cc797f1a83fbcd99a41cb4723a0e51.tar.lz gsoc2013-evolution-eb83dd4dd0cc797f1a83fbcd99a41cb4723a0e51.tar.xz gsoc2013-evolution-eb83dd4dd0cc797f1a83fbcd99a41cb4723a0e51.tar.zst gsoc2013-evolution-eb83dd4dd0cc797f1a83fbcd99a41cb4723a0e51.zip |
Don't include the storage name in the path passed to
* e-storage-set-view.c (folder_property_item_verb_callback): Don't
include the storage name in the path passed to
e_corba_storage_show_folder_properties, for consistency with the
other EStorage methods.
svn path=/trunk/; revision=17716
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 7 | ||||
-rw-r--r-- | shell/e-storage-set-view.c | 8 |
2 files changed, 12 insertions, 3 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 6fc314a583..a8987479c9 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,10 @@ +2002-08-06 Dan Winship <danw@ximian.com> + + * e-storage-set-view.c (folder_property_item_verb_callback): Don't + include the storage name in the path passed to + e_corba_storage_show_folder_properties, for consistency with the + other EStorage methods. + 2002-08-06 Ettore Perazzoli <ettore@ximian.com> * evolution-test-component.c diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c index a4ac4c62ac..ed9c53286c 100644 --- a/shell/e-storage-set-view.c +++ b/shell/e-storage-set-view.c @@ -619,7 +619,7 @@ folder_property_item_verb_callback (BonoboUIComponent *component, { FolderPropertyItemsData *data; GtkWidget *toplevel_widget; - const char *p; + const char *p, *path; int item_number; data = (FolderPropertyItemsData *) user_data; @@ -632,8 +632,10 @@ folder_property_item_verb_callback (BonoboUIComponent *component, toplevel_widget = gtk_widget_get_toplevel (GTK_WIDGET (data->storage_set_view)); - e_corba_storage_show_folder_properties (data->corba_storage, - data->storage_set_view->priv->right_click_row_path, + path = strchr (data->storage_set_view->priv->right_click_row_path + 1, E_PATH_SEPARATOR); + if (path == NULL) + path = "/"; + e_corba_storage_show_folder_properties (data->corba_storage, path, item_number, toplevel_widget->window); } |