diff options
Diffstat (limited to 'shell/e-storage-set-view.c')
-rw-r--r-- | shell/e-storage-set-view.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c index 040e2dc571..9c1ded128e 100644 --- a/shell/e-storage-set-view.c +++ b/shell/e-storage-set-view.c @@ -679,7 +679,7 @@ class_init (EStorageSetViewClass *klass) GTK_TYPE_NONE, 1, GTK_TYPE_STRING); - signals[FOLDER_SELECTED] + signals[STORAGE_SELECTED] = gtk_signal_new ("storage_selected", GTK_RUN_FIRST, object_class->type, @@ -1014,6 +1014,9 @@ e_storage_set_view_get_current_folder (EStorageSetView *storage_set_view) priv = storage_set_view->priv; + if (!priv->show_folders) + return NULL; /* Mmh! */ + row = e_table_get_cursor_row (E_TABLE (storage_set_view)); etree_node = e_tree_model_node_at_row (priv->etree_model, row); |