foiegras r53 - trunk/src/foiegras/windows
- From: denisw svn gnome org
- To: svn-commits-list gnome org
- Subject: foiegras r53 - trunk/src/foiegras/windows
- Date: Sat, 2 Feb 2008 16:43:49 +0000 (GMT)
Author: denisw
Date: Sat Feb 2 16:43:49 2008
New Revision: 53
URL: http://svn.gnome.org/viewvc/foiegras?rev=53&view=rev
Log:
2008-02-02 Denis Washington <denisw svn gnome org>
* src/foiegras/windows/main.py:
Add mnemonics to all tag buttons. As the buttons automatically
give the focus back to the text view, this should allow snappy
editing without having to grab the mouse. The only problem
remaining is that switching between tabs cannot yet be done from
the keyboard.
Modified:
trunk/src/foiegras/windows/main.py
Modified: trunk/src/foiegras/windows/main.py
==============================================================================
--- trunk/src/foiegras/windows/main.py (original)
+++ trunk/src/foiegras/windows/main.py Sat Feb 2 16:43:49 2008
@@ -141,32 +141,35 @@
]
self._annotation_actions = [
- ('CaptionAction', None, _("_Caption"), None, _(""), self.apply_block_tag),
- ('CitationAction', None, _("Citation"), None, _(""), self.apply_block_tag),
- ('MultimediaObjectAction', None, _("Multimedia Object"), None, _(""), self.apply_block_tag),
- ('CodeSnippetAction', None, _("Code Snippet"), None, _(""), self.apply_block_tag),
- ('ParagraphAction', None, _("Paragraph"), None, _(""), self.apply_block_tag),
- ('ScreenAction', None, _("Screen"), None, _(""), self.apply_block_tag),
- ('EditorialCommentAction', None, _("Editorial Comment"), None, _(""), self.apply_block_tag),
- ('FigureAction', None, _("Figure"), None, _(""), self.apply_block_tag),
- ('ListAction', None, _("List"), None, _(""), self.apply_block_tag),
- ('NoteAction', None, _("Note"), None, _(""), self.apply_block_tag),
- ('SynopseAction', None, _("Synopse"), None, _(""), self.apply_block_tag),
- ('TableAction', None, _("Table"), None, _(""), self.apply_block_tag),
- ('ApplicationNameAction', gtk.STOCK_EXECUTE, _("Application Name"), None, _(""), self.apply_inline_tag),
- ('CommandAction', None, _("Command"), None, _(""), self.apply_inline_tag),
- ('ComputerOutputAction', None, _("Computer Output"), None, _(""), self.apply_inline_tag),
- ('DateAction', None, _("Date"), None, _(""), self.apply_inline_tag),
+ # block tag actions
+ ('CaptionAction', None, _("C_aption"), None, _(""), self.apply_block_tag),
+ ('CitationAction', None, _("_Citation"), None, _(""), self.apply_block_tag),
+ ('MultimediaObjectAction', None, _("_Multimedia Object"), None, _(""), self.apply_block_tag),
+ ('CodeSnippetAction', None, _("C_ode Snippet"), None, _(""), self.apply_block_tag),
+ ('ParagraphAction', None, _("_Paragraph"), None, _(""), self.apply_block_tag),
+ ('ScreenAction', None, _("_Screen"), None, _(""), self.apply_block_tag),
+ ('EditorialCommentAction', None, _("_Editorial Comment"), None, _(""), self.apply_block_tag),
+ ('FigureAction', None, _("_Figure"), None, _(""), self.apply_block_tag),
+ ('ListAction', None, _("_List"), None, _(""), self.apply_block_tag),
+ ('NoteAction', None, _("_Note"), None, _(""), self.apply_block_tag),
+ ('SynopseAction', None, _("Sy_nopse"), None, _(""), self.apply_block_tag),
+ ('TableAction', None, _("_Table"), None, _(""), self.apply_block_tag),
+
+ # inline tag actions
+ ('ApplicationNameAction', gtk.STOCK_EXECUTE, _("_Application Name"), None, _(""), self.apply_inline_tag),
+ ('CommandAction', None, _("_Command"), None, _(""), self.apply_inline_tag),
+ ('ComputerOutputAction', None, _("Computer _Output"), None, _(""), self.apply_inline_tag),
+ ('DateAction', None, _("_Date"), None, _(""), self.apply_inline_tag),
('EmphasisAction', None, _("_Emphasis"), None, _(""), self.apply_inline_tag),
- ('FileNameAction', None, _("File Name"), None, _(""), self.apply_inline_tag),
- ('GUILabelAction', None, _("GUI Label"), None, _(""), self.apply_inline_tag),
- ('HyperlinkAction', None, _("Hyperlink"), None, _(""), self.apply_inline_tag),
- ('InlineCodeAction', None, _("Inline Code"), None, _(""), self.apply_inline_tag),
- ('KeyStrokeAction', None, _("Key Stroke"), None, _(""), self.apply_inline_tag),
- ('QuoteAction', None, _("Quote"), None, _(""), self.apply_inline_tag),
- ('SystemItemAction', None, _("System Item"), None, _(""), self.apply_inline_tag),
- ('UserInputAction', None, _("User Input"), None, _(""), self.apply_inline_tag),
- ('VariableTextAction', None, _("Variable Text"), None, _(""), self.apply_inline_tag),
+ ('FileNameAction', None, _("_File Name"), None, _(""), self.apply_inline_tag),
+ ('GUILabelAction', None, _("_GUI Label"), None, _(""), self.apply_inline_tag),
+ ('HyperlinkAction', None, _("_Hyperlink"), None, _(""), self.apply_inline_tag),
+ ('InlineCodeAction', None, _("I_nline Code"), None, _(""), self.apply_inline_tag),
+ ('KeyStrokeAction', None, _("_Key Stroke"), None, _(""), self.apply_inline_tag),
+ ('QuoteAction', None, _("_Quote"), None, _(""), self.apply_inline_tag),
+ ('SystemItemAction', None, _("_System Item"), None, _(""), self.apply_inline_tag),
+ ('UserInputAction', None, _("User _Input"), None, _(""), self.apply_inline_tag),
+ ('VariableTextAction', None, _("_Variable Text"), None, _(""), self.apply_inline_tag),
]
self._actiongroup = gtk.ActionGroup('menubar')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]