aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/subscribe-dialog.c7
2 files changed, 13 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 2146f2d27e..479de37e71 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,11 @@
2000-10-02 Chris Toshok <toshok@helixcode.com>
+ * subscribe-dialog.c (subscribe_dialog_gui_init): get
+ Evolution::StorageSetView interface on our storage set view
+ control, and set "show_folders" to FALSE.
+
+2000-10-02 Chris Toshok <toshok@helixcode.com>
+
* Makefile.am (INCLUDES): add -I$(top_srcdir)/widgets/misc
* subscribe-dialog.c (subscribe_dialog_gui_init): change the
diff --git a/mail/subscribe-dialog.c b/mail/subscribe-dialog.c
index 639dde2b3c..4ef20c4729 100644
--- a/mail/subscribe-dialog.c
+++ b/mail/subscribe-dialog.c
@@ -428,6 +428,13 @@ subscribe_dialog_gui_init (SubscribeDialog *sc)
bonobo_ui_container_thaw (container, NULL);
sc->storage_set_control = Evolution_Shell_create_storage_set_view (sc->shell, &ev);
+ sc->storage_set_view = Bonobo_Unknown_query_interface (sc->storage_set_control,
+ "IDL:Evolution/StorageSetView:1.0",
+ &ev);
+
+ /* we just want to show storages */
+ Evolution_StorageSetView__set_show_folders (sc->storage_set_view, FALSE, &ev);
+
sc->storage_set_view_widget = bonobo_widget_new_control_from_objref (sc->storage_set_control,
container);