aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/e-storage-set-view.c8
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);
}