Commit e3df5031 authored by Yosef Or Boczko's avatar Yosef Or Boczko
Browse files

ephy-window: Allow again undo and redo and work again accel Ctrl+Z and Shift+Ctrl+Z

* Add Undo and Redo to the gear menu
* Add Undo and Redo to the popup menu when context is editable
* Work again Ctrl+Z accel to Undo and Shift+Ctrl+Z accel to Redo
* Bump the WebKitGTK+ requirements to 2.2.2

https://bugzilla.gnome.org/show_bug.cgi?id=698703
parent 79db933d
......@@ -69,7 +69,7 @@ GLIB_REQUIRED=2.35.6
GTK_REQUIRED=3.9.12
LIBXML_REQUIRED=2.6.12
LIBXSLT_REQUIRED=1.1.7
WEBKIT_GTK_REQUIRED=2.1.4
WEBKIT_GTK_REQUIRED=2.2.2
LIBSOUP_REQUIRED=2.42.1
GNOME_DESKTOP_REQUIRED=2.91.2
LIBSECRET_REQUIRED=0.14
......
......@@ -1955,6 +1955,12 @@ populate_context_menu (WebKitWebView *web_view,
update_edit_actions_sensitivity (window, FALSE);
add_action_to_context_menu (context_menu,
priv->action_group, "EditUndo");
add_action_to_context_menu (context_menu,
priv->action_group, "EditRedo");
webkit_context_menu_append (context_menu,
webkit_context_menu_item_new_separator ());
add_action_to_context_menu (context_menu,
priv->action_group, "EditCut");
add_action_to_context_menu (context_menu,
......
......@@ -77,6 +77,9 @@
<menuitem name="FileSaveAsMenu" action="FileSaveAs"/>
<menuitem name="FileSaveAsApplicationMenu" action="FileSaveAsApplication"/>
<separator name="FileSep2"/>
<menuitem name="EditUndoMenu" action="EditUndo"/>
<menuitem name="EditRedoMenu" action="EditRedo"/>
<separator name="EditSep2"/>
<menuitem name="EditCutMenu" action="EditCut"/>
<menuitem name="EditCopyMenu" action="EditCopy"/>
<menuitem name="EditPasteMenu" action="EditPaste"/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment