Jean-Marc Lasgouttes wrote:

This looks good to me, but I'll let John comment too.

Just one thing: inset-toggle may not exist anymore, but we have two
lfuns instead ... Wouldn't it make sense to add them to the menu?
Indeed. The menus should cover all LyX features.

I have created a new extended patch which takes your suggestions (toggle-inset & "ASCII"=>"Plain Text") into account. It also fixes the toolbar inclusion in classic.ui (this bug proves that actually nobody uses classic.ui).

John, speak to us - we are awaiting your approval.

Regards, Michael
Index: ChangeLog
===================================================================
RCS file: /cvs/lyx/lyx-devel/lib/ChangeLog,v
retrieving revision 1.701
diff -u -p -r1.701 ChangeLog
--- ChangeLog	2005/05/20 09:09:52	1.701
+++ ChangeLog	2005/05/21 12:20:01
@@ -12,6 +16,15 @@
 	layout. 
 
 	* layouts/amsdefs.inc: fix case of LabelString
+
+2005-05-16  Michael Schmitt  <[EMAIL PROTECTED]>
+
+	* ui/stdmenus.ui
+	* ui/classic.ui: fix use of "..."  according to KDE
+	human interface guidelines; fix capitalization; align
+	functionality of stdmenus.ui and classic.ui; replaced 
+	"inset-toggle" by new LFUNs; removed "Bibliography Key"
+	from classic.ui
 
 2005-05-10  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
Index: ui/classic.ui
===================================================================
RCS file: /cvs/lyx/lyx-devel/lib/ui/classic.ui,v
retrieving revision 1.18
diff -u -p -r1.18 classic.ui
--- ui/classic.ui	2005/05/09 13:10:18	1.18
+++ ui/classic.ui	2005/05/21 12:20:17
@@ -23,6 +23,9 @@
 # This is the default LyX user interface definition file.
 # The syntax should be straightforward enough.
 
+# The interface is designed (partially) following the KDE Human Interface
+# Guidelines (http://usability.kde.org/hig/)
+
 Menuset
 
 	Menubar
@@ -93,14 +96,16 @@ Menuset
 		Submenu "Paste External Selection|x" "edit_paste"
 		Separator
 		Item "Find & Replace...|F" "dialog-show findreplace"
+		Submenu "Open/Close Inset|I" "toggle_inset"
+		Separator
 		Submenu "Tabular|T" "edit_tabular"
 		Submenu "Math|M" "edit_math"
 		Separator
 		#Item "Read Only" "buffer-toggle-read-only"
 		Item "Spellchecker...|S" "dialog-show spellchecker"
 		Item "Thesaurus..." "thesaurus-entry"
+		Item "Count Words|W" "words-count"
 		Item "Check TeX|h" "buffer-chktex"
-		Item "Open/Close Float|l" "inset-toggle"
 		Submenu "Change Tracking|g" "edit_change"
 		Separator
 		Item "Preferences...|P" "dialog-show prefs"
@@ -108,8 +113,13 @@ Menuset
 	End
 
 	Menu "edit_paste"
-		Item "as Lines|L" "primary-selection-paste"
-		Item "as Paragraphs|P" "primary-selection-paste paragraph"
+		Item "Selection as Lines|L" "primary-selection-paste"
+		Item "Selection as Paragraphs|P" "primary-selection-paste paragraph"
+	End
+
+	Menu "toggle_inset"
+		Item "Next Inset|N" "next-inset-toggle"
+		Item "All Insets|A" "all-insets-toggle"
 	End
 
 	Menu "edit_tabular"
@@ -216,14 +226,13 @@ Menuset
 		Item "Footnote|F" "footnote-insert"
 		Item "Marginal Note|M" "marginalnote-insert"
 		Item "Short Title" "optional-insert"
-		Item "Bibliography Key" "bibitem-insert"
-		Item "Index Entry...|I" "index-insert"
+		Item "Index Entry|I" "index-insert"
 		Item "URL...|U" "url-insert"
 		Item "Note|N" "note-insert"
 		Submenu "Lists & TOC|O" "insert_toc"
 		Separator
 		Item "TeX Code|T" "ert-insert"
-		Item "Minipage|p" "minipage-insert"
+		Item "Minipage|p" "box-insert Frameless"
 		Item "Graphics...|G" "dialog-show-new-inset graphics"
 		Item "Tabular Material...|b" "tabular-insert"
 		Submenu "Floats|a" "insert_floats"
@@ -234,15 +243,16 @@ Menuset
 	End
 
 	Menu "insert_special"
-		Item "Superscript|S" "command-sequence math-mode ; math-superscript ; font-free-apply; "
-		Item "Subscript|u" "command-sequence math-mode ; math-subscript ; font-free-apply; "
-		Item "HFill|H" "hfill-insert"
+		Item "Superscript|S" "command-sequence math-mode on; math-superscript ; font-free-apply; "
+		Item "Subscript|u" "command-sequence math-mode on; math-subscript ; font-free-apply; "
+		Item "Horizontal Fill|H" "hfill-insert"
 		Item "Hyphenation Point|P" "hyphenation-point-insert"
 		Item "Ligature Break|k" "ligature-break-insert"
 		Item "Protected Space|r" "space-insert protected"
 		Item "Inter-word Space|w" "space-insert normal"
 		Item "Thin Space|T" "space-insert thin"
-		Item "Linebreak|L" "break-line"
+		Item "Vertical Space..." "dialog-show-new-inset vspace"
+		Item "Line Break|L" "break-line"
 		Item "Ellipsis|i" "dots-insert"
 		Item "End of Sentence|E" "end-of-sentence-period-insert"
 		Item "Single Quote|Q" "quote-insert single"
@@ -253,20 +263,20 @@ Menuset
 	End
 
 	Menu "insert_math"
-		Item "Inline Formula|I" "math-mode"
+		Item "Inline Formula|I" "math-mode on"
 		Item "Display Formula|D" "math-display"
-		Item "Eqnarray Environment|E" "command-sequence math-mode; math-mutate eqnarray;"
-		Item "AMS align Environment|a" "command-sequence math-mode; math-mutate align;"
-		Item "AMS alignat Environment|t" "command-sequence math-mode; math-mutate alignat;"
-		Item "AMS flalign Environment|f" "command-sequence math-mode; math-mutate flalign;"
-		#Item "AMS xalignat Environment|x" "command-sequence math-mode; math-mutate xalignat;"
-		#Item "AMS xxalignat Environment" "command-sequence math-mode; math-mutate xxalignat;"
-		Item "AMS gather Environment" "command-sequence math-mode; math-mutate gather;"
-		Item "AMS multline Environment" "command-sequence math-mode; math-mutate multline;"
+		Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;"
+		Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;"
+		Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;"
+		Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;"
+		#Item "AMS xalignat Environment|x" "command-sequence math-mode on; math-mutate xalignat;"
+		#Item "AMS xxalignat Environment" "command-sequence math-mode on; math-mutate xxalignat;"
+		Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;"
+		Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;"
 	Separator
 		Item "Array Environment|y" "math-matrix 2 2"
 		Item "Cases Environment|C" "math-insert \cases"
-		Item "Split Environment|S" "math-insert \split"
+		Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column"
 	Separator
 		Submenu "Font Change|o" "insert_math_font"
 		Item "Math Panel|l" "dialog-show mathpanel"
@@ -311,8 +321,8 @@ Menuset
 
 	Menu "insert_file"
 		Item "LyX Document...|X" "file-insert"
-		Item "ASCII as Lines...|L" "file-insert-ascii"
-		Item "ASCII as Paragraphs...|P" "file-insert-ascii-para"
+		Item "Plain Text as Lines...|L" "file-insert-ascii"
+		Item "Plain Text as Paragraphs...|P" "file-insert-ascii-para"
 	End
 
 	Menu "edit_change"
@@ -320,7 +330,7 @@ Menuset
 		Item "Merge Changes...|M" "merge-changes"
 		Item "Accept All Changes|A" "accept-all-changes"
 		Item "Reject All Changes|R" "reject-all-changes"
-		Item "Show changes in output|S" "output-changes"
+		Item "Show Changes in Output|S" "output-changes"
 
 	End
 #
@@ -339,7 +349,7 @@ Menuset
 		Separator
 		Item "Decrease Environment Depth|v" "depth-decrement"
 		Item "Increase Environment Depth|i" "depth-increment"
-		Item "Preamble...|r" "dialog-show preamble"
+		Item "LaTeX Preamble...|r" "dialog-show preamble"
 		Item "Start Appendix Here|S" "appendix"
 	End
 
@@ -352,7 +362,7 @@ Menuset
 		OptItem "Build Program|B" "build-program"
 		Submenu "Update|U" "update"
 		Separator
-		Item "LaTeX Logfile|L" "dialog-show latexlog"
+		Item "LaTeX Log|L" "dialog-show latexlog"
 		Item "Table of Contents|C" "toc-view"
 		Item "TeX Information|X" "dialog-show texinfo"
 	End
@@ -367,8 +377,8 @@ Menuset
 	Menu "navigate"
 		Toc
 		Separator
-		Item "Note|N" "note-next"
-		Item "Label|L" "label-goto"
+		Item "Next Note|N" "note-next"
+		Item "Go to Label|L" "label-goto"
 		Submenu "Bookmarks|B" "navigate_bookmarks"
 	End
 
@@ -441,9 +451,9 @@ include "stdtoolbars.ui"
 # right: the toolbar should be at the right of the window
 #
 Toolbars
-	"Standard" "on,top"
-	"Extra" "on,top"
-	"Table" "off,bottom"
-	"Math" "off,bottom"
-	"Command Buffer" "off,bottom"
+	"standard" "on,top"
+	"extra" "on,top"
+	"table" "off,bottom"
+	"math" "off,bottom"
+	"minibuffer" "off,bottom"
 End
Index: ui/default.ui
===================================================================
RCS file: /cvs/lyx/lyx-devel/lib/ui/default.ui,v
retrieving revision 1.125
diff -u -p -r1.125 default.ui
--- ui/default.ui	2004/04/21 00:19:25	1.125
+++ ui/default.ui	2005/05/21 12:20:18
@@ -11,6 +11,9 @@
 # This is the default LyX user interface definition file.
 # The syntax should be straightforward enough.
 
+# The interface is designed (partially) following the KDE Human Interface 
+# Guidelines (http://usability.kde.org/hig/)
+
 Include "stdmenus.ui"
 
 Include "stdtoolbars.ui"
Index: ui/stdmenus.ui
===================================================================
RCS file: /cvs/lyx/lyx-devel/lib/ui/stdmenus.ui,v
retrieving revision 1.47
diff -u -p -r1.47 stdmenus.ui
--- ui/stdmenus.ui	2005/05/09 13:10:18	1.47
+++ ui/stdmenus.ui	2005/05/21 12:20:20
@@ -9,6 +9,9 @@
 
 # Full author contact details are available in file CREDITS.
 
+# The interface is designed (partially) following the KDE Human Interface 
+# Guidelines (http://usability.kde.org/hig/)
+
 Menuset
 
 	Menubar
@@ -82,7 +85,10 @@ Menuset
 		Item "Copy" "copy"
 		Item "Paste" "paste"
 		Submenu "Paste Recent" "pasterecent"
+		Submenu "Paste External Selection" "edit_paste"
+		Separator
 		Item "Find & Replace...|F" "dialog-show findreplace"
+		Submenu "Open/Close Inset|O" "toggle_inset"
 		Separator
 		Item "Text Style...|S" "dialog-show character"
 		Item "Paragraph Settings...|P" "layout-paragraph"
@@ -112,6 +118,16 @@ Menuset
 		OptItem "Table Settings...|a" "layout-tabular"
 	End
 
+	Menu "edit_paste"
+		Item "Selection as Lines|L" "primary-selection-paste"
+		Item "Selection as Paragraphs|P" "primary-selection-paste paragraph"
+	End
+
+	Menu "toggle_inset"
+		Item "Next Inset|N" "next-inset-toggle"
+		Item "All Insets|A" "all-insets-toggle"
+	End
+
 	Menu "pasterecent"
 		PasteRecent
 	End
@@ -188,7 +204,7 @@ Menuset
 		Item "Inline Formula|I" "math-mutate simple"
 		Item "Displayed Formula|D" "math-mutate equation"
 		Item "Eqnarray Environment|q" "math-mutate eqnarray"
-		Item "AMS align Environment|A" "math-mutate align"
+		Item "AMS align Environment|a" "math-mutate align"
 		Item "AMS alignat Environment|t" "math-mutate alignat"
 		Item "AMS flalign Environment|f" "math-mutate flalign"
 		Item "AMS gather Environment|g" "math-mutate gather"
@@ -268,7 +284,7 @@ Menuset
 		Item "Thin Space|T" "space-insert thin"
 		Item "Horizontal Fill|H" "hfill-insert"
 		Item "Horizontal Line" "line-insert"
-		Item "Vertical Space" "dialog-show-new-inset vspace"
+		Item "Vertical Space..." "dialog-show-new-inset vspace"
 		Separator
 		Item "Hyphenation Point|P" "hyphenation-point-insert"
 		Item "Ligature Break|k" "ligature-break-insert"
@@ -291,7 +307,7 @@ Menuset
 		Item "Aligned Environment" "command-sequence math-insert \aligned; tabular-feature append-column"
 		Item "AlignedAt Environment" "command-sequence math-insert \alignedat; tabular-feature append-column"
 		Item "Gathered Environment" "math-insert \gathered"
-		Item "Split Environment" "command-sequence math-insert \split; tabular-feature append-column"
+		Item "Split Environment|S" "command-sequence math-insert \split; tabular-feature append-column"
 		Separator
 		Submenu "Font Change|o" "insert_math_font"
 		Item "Math Panel|P" "dialog-show mathpanel"
@@ -337,10 +353,10 @@ Menuset
 
 	Menu "insert_file"
 		Item "LyX Document...|X" "file-insert"
-		Item "ASCII as Lines...|L" "file-insert-ascii"
-		Item "ASCII as Paragraphs...|P" "file-insert-ascii-para"
+		Item "Plain Text as Lines...|L" "file-insert-ascii"
+		Item "Plain Text as Paragraphs...|P" "file-insert-ascii-para"
 		Separator
-		Item "External Material..." "dialog-show-new-inset external"
+		Item "External Material...|M" "dialog-show-new-inset external"
 		Item "Child Document...|d" "dialog-show-new-inset include"
 	End
 
@@ -365,8 +381,8 @@ Menuset
 	Menu "document"
 		Submenu "Change Tracking|C" "edit_change"
 		OptItem "Build Program|B" "build-program"
-		Item "LaTeX Log File...|L" "dialog-show latexlog"
-		Item "Table of Contents...|T" "toc-view"
+		Item "LaTeX Log|L" "dialog-show latexlog"
+		Item "Table of Contents|T" "toc-view"
 		Item "LaTeX Preamble...|P" "dialog-show preamble"
 		Item "Start Appendix Here|A" "appendix"
 		Separator
@@ -378,7 +394,7 @@ Menuset
 		Item "Merge Changes...|M" "merge-changes"
 		Item "Accept All Changes|A" "accept-all-changes"
 		Item "Reject All Changes|R" "reject-all-changes"
-		Item "Show changes in output|S" "output-changes"
+		Item "Show Changes in Output|S" "output-changes"
 	End
 
 #
@@ -387,7 +403,7 @@ Menuset
 	Menu "navigate"
 		Submenu "Bookmarks|B" "navigate_bookmarks"
 		Item "Next Note|N" "note-next"
-		Item "Goto Label|G" "label-goto"
+		Item "Go to Label|L" "label-goto"
 		Separator
 		Toc
 	End
@@ -415,7 +431,7 @@ Menuset
 		OptItem "Thesaurus...|T" "thesaurus-entry"
 		Item "Count Words|W" "words-count"
 		OptItem "Check TeX|h" "buffer-chktex"
-		Item "TeX Information...|I" "dialog-show texinfo"
+		Item "TeX Information|I" "dialog-show texinfo"
 		Separator
 # A LOT of applications have Tools->Prefs. Remember this
 # should be rarely used - Edit menu is not a good place to
@@ -437,7 +453,7 @@ Menuset
 		Item "Table of Contents|a" "help-open TOC"
 		Item "LaTeX Configuration|L" "help-open LaTeXConfig"
 		Separator
-		Item "About LyX...|X" "dialog-show aboutlyx"
+		Item "About LyX|X" "dialog-show aboutlyx"
 	End
 
 #
Index: ui/stdtoolbars.ui
===================================================================
RCS file: /cvs/lyx/lyx-devel/lib/ui/stdtoolbars.ui,v
retrieving revision 1.18
diff -u -p -r1.18 stdtoolbars.ui
--- ui/stdtoolbars.ui	2005/05/08 10:02:35	1.18
+++ ui/stdtoolbars.ui	2005/05/21 12:20:20
@@ -9,6 +9,9 @@
 
 # Full author contact details are available in file CREDITS.
 
+# The interface is designed (partially) following the KDE Human Interface
+# Guidelines (http://usability.kde.org/hig/)
+
 # A Toolbar starts like :
 #
 # Toolbar "name" "GUI Name"

Reply via email to