# HG changeset patch # User Henrik Stuart <h...@hstuart.dk> # Date 1253731128 -7200 # Node ID d4b374e7c546956be15a33794ff45f275d41724d # Parent 5ae767fe27d5859ef5c8cf22840f79f75926f03e gdialog: add accelerator keys to main menus
diff -r 5ae767fe27d5 -r d4b374e7c546 tortoisehg/hgtk/commit.py --- a/tortoisehg/hgtk/commit.py Wed Sep 23 13:11:13 2009 -0500 +++ b/tortoisehg/hgtk/commit.py Wed Sep 23 20:38:48 2009 +0200 @@ -177,12 +177,12 @@ frame.hide() setattr(self, statename, show) no = False - return [(_('View'), + return [(_('_View'), [(_('Advanced'), True, toggle, ['advanced'], self.showadvanced), (_('Parents'), True, toggle, ['parents'], self.showparents), ('----', None, None, None, None), (_('Refresh'), False, refresh, [], gtk.STOCK_REFRESH)]), - (_('Operations'), [ + (_('_Operations'), [ (_('_Commit'), no, self.commit_clicked, [], gtk.STOCK_OK), (_('_Undo'), no, self.undo_clicked, [], gtk.STOCK_UNDO), ('----', None, None, None, None), diff -r 5ae767fe27d5 -r d4b374e7c546 tortoisehg/hgtk/gdialog.py --- a/tortoisehg/hgtk/gdialog.py Wed Sep 23 13:11:13 2009 -0500 +++ b/tortoisehg/hgtk/gdialog.py Wed Sep 23 20:38:48 2009 +0200 @@ -428,7 +428,7 @@ menus = self.get_menu_list() if menus: allmenus = [ - (_('Tools'), + (_('_Tools'), [(_('Changelog'), False, self.launch, ['log'], 'menulog.ico'), (_('Commit'), False, self.launch, ['commit'], 'menucommit.ico'), (_('Datamine'), False, self.launch, ['datamine'], 'menurepobrowse.ico'), @@ -438,7 +438,7 @@ (_('Synchronize'), False, self.launch, ['synch'], 'menusynch.ico'), (_('Settings'), False, self.launch, ['repoconfig'], 'settings_repo.ico')]) ] + menus + [ - (_('Help'), + (_('_Help'), [(_('Contents'), False, self.helpcontents, [], gtk.STOCK_INFO), (_('About'), False, self.launch, ['about'], gtk.STOCK_ABOUT)]) ] diff -r 5ae767fe27d5 -r d4b374e7c546 tortoisehg/hgtk/history.py --- a/tortoisehg/hgtk/history.py Wed Sep 23 13:11:13 2009 -0500 +++ b/tortoisehg/hgtk/history.py Wed Sep 23 20:38:48 2009 +0200 @@ -103,7 +103,7 @@ bmenus.append((hglib.toutf(name), False, navigate, [name], None)) fnc = self.toggle_view_column - return [(_('View'), [ + return [(_('_View'), [ (_('Sync Bar'), True, self.toggle_show_syncbar, [], self.show_syncbar), (_('Filter Bar'), True, self.toggle_show_filterbar, [], @@ -120,7 +120,7 @@ self.branch_color), ]), - (_('Navigate'), [ + (_('_Navigate'), [ (_('Tip'), False, navigate, ['tip'], None), (_('Working Parent'), False, navigate, ['.'], None), ('----', None, None, None, None), ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop