From: Tommaso Cucinotta Date: Tue, 22 Sep 2009 21:39:48 +0000 (+0000) Subject: UI interaction for advanced f&r. X-Git-Tag: 2.0.0~5459 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=059729ec596e97862ccfea5077b073535e9895e8;p=features.git UI interaction for advanced f&r. Menu voice shows only, does not toggle. This allows for highlighting the keyboard short-cut in the menu, where the user expects to find it. Toggling of dialog is instead shown in a toggling button on the toolbar (advanced search button besides the standard one). Icon is just draft. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31445 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/images/dialog-toggle_findreplaceadv.png b/lib/images/dialog-toggle_findreplaceadv.png new file mode 100644 index 0000000000..aea99c092a Binary files /dev/null and b/lib/images/dialog-toggle_findreplaceadv.png differ diff --git a/lib/ui/stdmenus.inc b/lib/ui/stdmenus.inc index d98302f09a..7caf02ae80 100644 --- a/lib/ui/stdmenus.inc +++ b/lib/ui/stdmenus.inc @@ -104,7 +104,7 @@ Menuset Item "Select All" "command-sequence buffer-begin ; buffer-end-select" Separator Item "Find & Replace (Quick)...|F" "dialog-show findreplace" - Item "Find & Replace (Advanced)..." "dialog-toggle findreplaceadv" + Item "Find & Replace (Advanced)..." "dialog-show findreplaceadv" Separator Item "Move Paragraph Up|o" "paragraph-move-up" Item "Move Paragraph Down|v" "paragraph-move-down" diff --git a/lib/ui/stdtoolbars.inc b/lib/ui/stdtoolbars.inc index 4fc4d34d16..5f419edb15 100644 --- a/lib/ui/stdtoolbars.inc +++ b/lib/ui/stdtoolbars.inc @@ -79,6 +79,7 @@ ToolbarSet Item "Copy" "copy" Item "Paste" "paste" Item "Find and replace" "dialog-show findreplace" + Item "Find and replace (advanced)" "dialog-toggle findreplaceadv" Item "Navigate back" "bookmark-goto 0" Separator Item "Toggle emphasis" "font-emph"