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



commit 2ee790e036958a47d956317c84c03701484e9117
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]