[gnome-games] Make toolbar buttons have text



commit eea9bbb4cdd3756c1432239dd94273944c8a144a
Author: Robert Ancell <robert ancell gmail com>
Date:   Fri Apr 23 14:23:44 2010 +1000

    Make toolbar buttons have text

 gnome-sudoku/src/lib/main.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gnome-sudoku/src/lib/main.py b/gnome-sudoku/src/lib/main.py
index 94b6b33..93a73e3 100644
--- a/gnome-sudoku/src/lib/main.py
+++ b/gnome-sudoku/src/lib/main.py
@@ -285,6 +285,11 @@ class UI (gconf_wrapper.GConfWrapper):
             ('ToggleHighlight', gtk.STOCK_SELECT_COLOR, _('_Highlighter'),
              None, _('Highlight the current row, column and box'), self.toggle_highlight_cb, False)
             ])
+            
+        self.main_actions.get_action('Undo').set_is_important(True)
+        self.main_actions.get_action('Redo').set_is_important(True)
+        self.main_actions.get_action('ShowPossible').set_is_important(True)
+        self.main_actions.get_action('Tracker').set_is_important(True)
 
         self.uimanager.insert_action_group(self.main_actions, 0)
         self.uimanager.add_ui_from_string(self.ui)



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