aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-02-12 05:54:00 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-02-12 05:54:00 +0800
commit29904332e64bcbe5f21c9262b4d0ab9b32f47037 (patch)
tree56f8a8fa438474e2b6ef188002cb3bff806940e7 /mail
parentbe56df0a8d767de2876e3f58df2d2bc2e7683461 (diff)
downloadgsoc2013-evolution-29904332e64bcbe5f21c9262b4d0ab9b32f47037.tar
gsoc2013-evolution-29904332e64bcbe5f21c9262b4d0ab9b32f47037.tar.gz
gsoc2013-evolution-29904332e64bcbe5f21c9262b4d0ab9b32f47037.tar.bz2
gsoc2013-evolution-29904332e64bcbe5f21c9262b4d0ab9b32f47037.tar.lz
gsoc2013-evolution-29904332e64bcbe5f21c9262b4d0ab9b32f47037.tar.xz
gsoc2013-evolution-29904332e64bcbe5f21c9262b4d0ab9b32f47037.tar.zst
gsoc2013-evolution-29904332e64bcbe5f21c9262b4d0ab9b32f47037.zip
Disable the bonobo-ui-component statusbar when using the EMFolderBrowser
2004-02-11 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (mail_control_new): Disable the bonobo-ui-component statusbar when using the EMFolderBrowser outside of the mail component. This prevents the Connector component from having 2 status bars. svn path=/trunk/; revision=24717
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-component.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index c93eafd88c..b29cda1f6b 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,10 @@
2004-02-11 Jeffrey Stedfast <fejj@ximian.com>
+ * mail-component.c (mail_control_new): Disable the
+ bonobo-ui-component statusbar when using the EMFolderBrowser
+ outside of the mail component. This prevents the Connector
+ component from having 2 status bars.
+
* em-popup.c: #include <libgnomevfs/gnome-vfs-mime.h>
(em_popup_create_menu): Wrap item->label with _() so
that the strings get translated properly.
diff --git a/mail/mail-component.c b/mail/mail-component.c
index edc0866398..07f522b493 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -647,8 +647,9 @@ mail_control_new (void)
BonoboPropertyBag *pbag;
view_widget = em_folder_browser_new ();
+ em_folder_view_set_statusbar ((EMFolderView *) view_widget, FALSE);
gtk_widget_show (view_widget);
-
+
view_control = bonobo_control_new (view_widget);
pbag = bonobo_property_bag_new (get_prop, set_prop, view_control);