]> git.lyx.org Git - features.git/commitdiff
UI interaction for advanced f&r.
authorTommaso Cucinotta <tommaso@lyx.org>
Tue, 22 Sep 2009 21:39:48 +0000 (21:39 +0000)
committerTommaso Cucinotta <tommaso@lyx.org>
Tue, 22 Sep 2009 21:39:48 +0000 (21:39 +0000)
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

lib/images/dialog-toggle_findreplaceadv.png [new file with mode: 0644]
lib/ui/stdmenus.inc
lib/ui/stdtoolbars.inc

diff --git a/lib/images/dialog-toggle_findreplaceadv.png b/lib/images/dialog-toggle_findreplaceadv.png
new file mode 100644 (file)
index 0000000..aea99c0
Binary files /dev/null and b/lib/images/dialog-toggle_findreplaceadv.png differ
index d98302f09a66874e5a3f29923ab12eb6d4750b8c..7caf02ae8053ef1062f765849b71a739de28a70c 100644 (file)
@@ -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"
index 4fc4d34d16616fd4883e5809900429a75172f931..5f419edb15f53af4762b4d6e658d419247f5d801 100644 (file)
@@ -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"