aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-01-17 20:01:47 +0800
committerXan Lopez <xan@igalia.com>2012-01-17 20:02:42 +0800
commitada259cbc99436eaf638061dd3a4e864e476b0ae (patch)
tree0de616aac62e0ef269cf3fa6acdb38cde943ca54
parent323487932aeb480be4646df38d2a395a0ada05d8 (diff)
downloadgsoc2013-epiphany-ada259cbc99436eaf638061dd3a4e864e476b0ae.tar
gsoc2013-epiphany-ada259cbc99436eaf638061dd3a4e864e476b0ae.tar.gz
gsoc2013-epiphany-ada259cbc99436eaf638061dd3a4e864e476b0ae.tar.bz2
gsoc2013-epiphany-ada259cbc99436eaf638061dd3a4e864e476b0ae.tar.lz
gsoc2013-epiphany-ada259cbc99436eaf638061dd3a4e864e476b0ae.tar.xz
gsoc2013-epiphany-ada259cbc99436eaf638061dd3a4e864e476b0ae.tar.zst
gsoc2013-epiphany-ada259cbc99436eaf638061dd3a4e864e476b0ae.zip
Remove Find Next/Previous from page menu
The actions are already in the find toolbar, which is accessible from the menu, so there's no need to have them there.
-rw-r--r--data/ui/epiphany-ui.xml2
-rw-r--r--src/ephy-window.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/data/ui/epiphany-ui.xml b/data/ui/epiphany-ui.xml
index b3c184d12..b7b08f2ee 100644
--- a/data/ui/epiphany-ui.xml
+++ b/data/ui/epiphany-ui.xml
@@ -98,8 +98,6 @@
<menuitem name="FileSendToMenu" action="FileSendTo"/>
<separator name="FileSep4"/>
<menuitem name="EditFindMenu" action="EditFind"/>
- <menuitem name="EditFindNextMenu" action="EditFindNext"/>
- <menuitem name="EditFindPrevMenu" action="EditFindPrev"/>
<separator name="FileSep5"/>
<menu name="BookmarksMenu" action="Bookmarks">
<menuitem name="BookmarksAddBookmarkMenu" action="FileBookmarkPage"/>
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 71c2f47c0..7a0673cc3 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -347,6 +347,9 @@ static const struct
{ GDK_KEY_plus, GDK_CONTROL_MASK, "ViewZoomIn", FALSE },
{ GDK_KEY_minus, GDK_CONTROL_MASK, "ViewZoomOut", FALSE },
{ GDK_KEY_0, GDK_CONTROL_MASK, "ViewZoomNormal", FALSE },
+ { GDK_KEY_g, GDK_CONTROL_MASK, "EditFindNext", FALSE },
+ { GDK_KEY_g, GDK_CONTROL_MASK |
+ GDK_SHIFT_MASK, "EditFindPrev", FALSE },
{ GDK_KEY_s, GDK_CONTROL_MASK, "FileSaveAs", FALSE },
{ GDK_KEY_R, GDK_CONTROL_MASK |