aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorChris Toshok <toshok@helixcode.com>2000-10-03 11:25:30 +0800
committerChris Toshok <toshok@src.gnome.org>2000-10-03 11:25:30 +0800
commit86279dfe50fb3085a8abfc3e8f1e5c022a48e561 (patch)
tree718d7634968711c04bf2ee24c0ca15f1bb3d3c3d /shell
parentcc6dbb8f3cf2f9d64e0f0577a08177630e72219b (diff)
downloadgsoc2013-evolution-86279dfe50fb3085a8abfc3e8f1e5c022a48e561.tar
gsoc2013-evolution-86279dfe50fb3085a8abfc3e8f1e5c022a48e561.tar.gz
gsoc2013-evolution-86279dfe50fb3085a8abfc3e8f1e5c022a48e561.tar.bz2
gsoc2013-evolution-86279dfe50fb3085a8abfc3e8f1e5c022a48e561.tar.lz
gsoc2013-evolution-86279dfe50fb3085a8abfc3e8f1e5c022a48e561.tar.xz
gsoc2013-evolution-86279dfe50fb3085a8abfc3e8f1e5c022a48e561.tar.zst
gsoc2013-evolution-86279dfe50fb3085a8abfc3e8f1e5c022a48e561.zip
if we're not displaying folders, the current folder is NULL. (class_init):
2000-10-02 Chris Toshok <toshok@helixcode.com> * e-storage-set-view.c (e_storage_set_view_get_current_folder): if we're not displaying folders, the current folder is NULL. (class_init): fix typo. * Makefile.am (libeshell_a_SOURCES): evolution-storage-set-view-listener.[ch] should be here, not evolution_SOURCES. svn path=/trunk/; revision=5687
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog10
-rw-r--r--shell/Makefile.am4
-rw-r--r--shell/e-storage-set-view.c5
3 files changed, 16 insertions, 3 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 8f017cc002..530d74037f 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,15 @@
2000-10-02 Chris Toshok <toshok@helixcode.com>
+ * e-storage-set-view.c (e_storage_set_view_get_current_folder): if
+ we're not displaying folders, the current folder is NULL.
+ (class_init): fix typo.
+
+ * Makefile.am (libeshell_a_SOURCES):
+ evolution-storage-set-view-listener.[ch] should be here, not
+ evolution_SOURCES.
+
+2000-10-02 Chris Toshok <toshok@helixcode.com>
+
* evolution-storage-set-view.c: add storage_selected behavior -
loop over the listeners calling _storage_selected.
diff --git a/shell/Makefile.am b/shell/Makefile.am
index f2b1dd674d..aa3037bced 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -64,6 +64,8 @@ libeshell_a_SOURCES = \
evolution-shell-view.h \
evolution-storage-listener.c \
evolution-storage-listener.h \
+ evolution-storage-set-view-listener.c \
+ evolution-storage-set-view-listener.h \
evolution-storage.c \
evolution-storage.h
@@ -117,8 +119,6 @@ evolution_SOURCES = \
e-storage.h \
evolution-storage-set-view.c \
evolution-storage-set-view.h \
- evolution-storage-set-view-listener.c \
- evolution-storage-set-view-listener.h \
evolution-storage-set-view-factory.c \
evolution-storage-set-view-factory.h \
main.c
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);