From 11aa32cb036c01e993ff40b8799856a85256018f Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Tue, 3 Oct 2000 01:24:22 +0000 Subject: get Evolution::StorageSetView interface on our storage set view control, 2000-10-02 Chris Toshok * subscribe-dialog.c (subscribe_dialog_gui_init): get Evolution::StorageSetView interface on our storage set view control, and set "show_folders" to FALSE. svn path=/trunk/; revision=5683 --- mail/ChangeLog | 6 ++++++ mail/subscribe-dialog.c | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/mail/ChangeLog b/mail/ChangeLog index 2146f2d27e..479de37e71 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2000-10-02 Chris Toshok + + * 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 * Makefile.am (INCLUDES): add -I$(top_srcdir)/widgets/misc 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); -- cgit v1.2.3