Changeset 482:79982e69f93b for src/mlx/gui
- Timestamp:
- 03/30/13 10:32:25 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/gui.py
r436 r482 987 987 toolsMenu.append(prefsMenuItem) 988 988 989 toolsMenu.append(gtk.SeparatorMenuItem()) 990 991 bugReportMenuItem = gtk.ImageMenuItem(gtk.STOCK_PASTE) 992 bugReportMenuItem.set_use_stock(True) 993 bugReportMenuItem.set_label(xstr("menu_tools_bugreport")) 994 bugReportMenuItem.add_accelerator("activate", accelGroup, 995 ord(xstr("menu_tools_bugreport_key")), 996 CONTROL_MASK, ACCEL_VISIBLE) 997 bugReportMenuItem.connect("activate", self._reportBug) 998 toolsMenu.append(bugReportMenuItem) 999 989 1000 viewMenuItem = gtk.MenuItem(xstr("menu_view")) 990 1001 viewMenu = gtk.Menu() … … 1125 1136 self._setupTimeSync() 1126 1137 self._listenHotkeys() 1138 1139 def _reportBug(self, menuItem): 1140 """Callback for reporting a bug.""" 1141 1127 1142 1128 1143 def _setupTimeSync(self):
Note:
See TracChangeset
for help on using the changeset viewer.