[gnome-games/gnome-3-0] sudoku: add the primary-toolbar style class
- From: Thomas Hindoe Paaboel Andersen <thomashpa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/gnome-3-0] sudoku: add the primary-toolbar style class
- Date: Fri, 20 May 2011 21:17:22 +0000 (UTC)
commit 3267cb9538d1a1fd2dcc6ade9c3b05ca9bfa7127
Author: John Stowers <john stowers gmail com>
Date: Wed May 4 17:03:34 2011 +1200
sudoku: add the primary-toolbar style class
gnome-sudoku/src/lib/main.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gnome-sudoku/src/lib/main.py b/gnome-sudoku/src/lib/main.py
index bf3ce21..3cb0e98 100644
--- a/gnome-sudoku/src/lib/main.py
+++ b/gnome-sudoku/src/lib/main.py
@@ -301,6 +301,7 @@ class UI (gconf_wrapper.GConfWrapper):
mb.show()
self.vb.pack_start(mb, False, False, 0)
self.tb = self.uimanager.get_widget('/Toolbar')
+ self.tb.get_style_context().add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR)
self.vb.pack_start(self.tb, False, False, 0)
self.main_area = Gtk.HBox()
self.swallower = dialog_swallower.SwappableArea(self.main_area)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]