[gnome-games] mahjongg: add the primary-toolbar style class on the toolbar



commit 35fe711174fe2a215ccaac8e70cf0080ec870bee
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Mar 30 17:45:47 2011 -0400

    mahjongg: add the primary-toolbar style class on the toolbar
    
    https://bugzilla.gnome.org/show_bug.cgi?id=646279

 mahjongg/mahjongg.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/mahjongg/mahjongg.c b/mahjongg/mahjongg.c
index 59df908..a64e995 100644
--- a/mahjongg/mahjongg.c
+++ b/mahjongg/mahjongg.c
@@ -1429,6 +1429,8 @@ main (int argc, char *argv[])
   board = create_mahjongg_board ();
 
   toolbar = gtk_ui_manager_get_widget (ui_manager, "/Toolbar");
+  gtk_style_context_add_class (gtk_widget_get_style_context (toolbar),
+			       GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
 
   vbox = gtk_vbox_new (FALSE, 0);
 



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