[evolution/wip/gsettings] Bug 648346 - Add style class to message browser toolbar



commit 7b71f8f18c283032a9edf2f2a191e2c693cb2a61
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Apr 21 07:44:26 2011 -0400

    Bug 648346 - Add style class to message browser toolbar

 mail/e-mail-browser.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/mail/e-mail-browser.c b/mail/e-mail-browser.c
index ba0c585..e1aeed0 100644
--- a/mail/e-mail-browser.c
+++ b/mail/e-mail-browser.c
@@ -655,6 +655,10 @@ mail_browser_constructed (GObject *object)
 	priv->main_toolbar = g_object_ref (widget);
 	gtk_widget_show (widget);
 
+	gtk_style_context_add_class (
+		gtk_widget_get_style_context (widget),
+		GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
+
 	widget = e_alert_bar_new ();
 	gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0);
 	priv->alert_bar = g_object_ref (widget);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]