Added stock icons to main window menu
authorJim Ramsay <[email protected]>
Thu, 25 Jan 2007 18:29:14 +0000 (25 18:29 +0000)
committerJim Ramsay <[email protected]>
Thu, 25 Jan 2007 18:29:14 +0000 (25 18:29 +0000)
git-svn-id: https://rox.svn.sourceforge.net/svnroot/rox/trunk/Memo/trunk/Memo@4911 66de3db3-b00d-0410-b41b-f4738ad19bea

Window.py

index cfcbc7c..3899526 100644 (file)
--- a/Window.py
+++ b/Window.py
@@ -14,13 +14,13 @@ main_sticky = Option('main_sticky', 1)
 alert_early = Option('alert_early', 0)
 
 menu = Menu('main', [
-                (_('/Add Memo...'), 'new_memo',    ''),
-                (_('/Show All...'), 'show_all_memos', ''),
-               ('/',            '',            '<Separator>'),
-                (_('/Options...'),  'show_options',''),
-                (_('/Help'),        'help',    ''),
-                (_('/Quit'),        'destroy',     ''),
-                ])
+       (_('/Add Memo...'), 'new_memo', "<StockItem>", "", g.STOCK_ADD),
+       (_('/Show All...'), 'show_all_memos', '<StockItem>', "", g.STOCK_EDIT),
+       ('/',            '',            '<Separator>'),
+       (_('/Options...'),  'show_options', "<StockItem>", "", g.STOCK_PREFERENCES),
+       (_('/Help'),        'help',     "<StockItem>", "", g.STOCK_HELP),
+       (_('/Quit'),        'destroy', "<StockItem>", "", g.STOCK_QUIT),
+])
 
 class Window(rox.Window):
        drag_start = None