[gnome-games] Add shortcut to print menu, remove from toolbar (the normal use is not to print)



commit 2de0879dff470dbcb1903d2fe6a7b6c5e0251c5b
Author: Robert Ancell <robert ancell gmail com>
Date:   Fri Apr 23 14:28:10 2010 +1000

    Add shortcut to print menu, remove from toolbar (the normal use is not to print)

 gnome-sudoku/src/lib/main.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gnome-sudoku/src/lib/main.py b/gnome-sudoku/src/lib/main.py
index 156384e..119cb2d 100644
--- a/gnome-sudoku/src/lib/main.py
+++ b/gnome-sudoku/src/lib/main.py
@@ -123,7 +123,6 @@ class UI (gconf_wrapper.GConfWrapper):
     </menubar>
     <toolbar name="Toolbar">
       <toolitem action="New"/>
-      <toolitem action="Print"/>
       <separator/>
       <toolitem action="Undo"/>
       <toolitem action="Redo"/>
@@ -241,7 +240,7 @@ class UI (gconf_wrapper.GConfWrapper):
              _('Redo last action')),
             ('PuzzleInfo', gtk.STOCK_ABOUT, _('Puzzle _Statistics...'), None,
              _('Show statistics about current puzzle'), self.show_info_cb),
-            ('Print', gtk.STOCK_PRINT, None, None, _('Print current game'), self.print_game),
+            ('Print', gtk.STOCK_PRINT, _('_Print...'), '<Control>p', _('Print current game'), self.print_game),
             ('PrintMany', gtk.STOCK_PRINT, _('Print _Multiple Sudokus...'), None,
              _('Print more than one sudoku at a time.'), self.print_multiple_games),
             ('Close', gtk.STOCK_CLOSE, None, '<Control>w', _('Close Sudoku'), self.quit_cb),



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