[gnome-games] gnobots2: add the primary-toolbar style class
- From: Thomas Hindoe Paaboel Andersen <thomashpa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] gnobots2: add the primary-toolbar style class
- Date: Tue, 3 May 2011 21:50:59 +0000 (UTC)
commit 79d6f8f611d1b3fae292bbd456415f0175c7f611
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Mar 30 17:40:37 2011 -0400
gnobots2: add the primary-toolbar style class
https://bugzilla.gnome.org/show_bug.cgi?id=646278
gnobots2/gnobots.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gnobots2/gnobots.c b/gnobots2/gnobots.c
index 5301e18..a300b11 100644
--- a/gnobots2/gnobots.c
+++ b/gnobots2/gnobots.c
@@ -272,7 +272,10 @@ main (int argc, char *argv[])
gtk_ui_manager_get_accel_group (ui_manager));
menubar = gtk_ui_manager_get_widget (ui_manager, "/MainMenu");
+
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);
make_cursors ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]