[evolution/gnome-3-0] Bug 648346 - Add style class to message browser toolbar



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

    Bug 648346 - Add style class to message browser toolbar
    
    (cherry picked from commit 69add830e12856ab29b96bdce7335bf18e0a2a6f)

 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]