summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAlexandru Pandelea <alexandru.pandelea@gmail.com>2017-03-27 23:00:43 +0300
committerAlexandru Pandelea <alexandru.pandelea@gmail.com>2017-05-31 15:58:52 +0300
commit6e16bc32e85c80229578ddff6615554f84c492c8 (patch)
tree8fb716489ac1e99b0b88a12e6cf7263b353c3a95 /src/resources
parente4e9eb83d58786e44ba193bd20d7adaa0e38f7fa (diff)
downloadnautilus-6e16bc32e85c80229578ddff6615554f84c492c8.tar.gz
add "restore tab" action
Adds option to reopen closed tabs with Ctrl+Shift+T. In order to do so, keep a list with data needed to restore closed tabs. So, this list keeps the location bookmark, the view id before search, which is needed in case the closed tab was a search and the back/forward history. https://bugzilla.gnome.org/show_bug.cgi?id=561136
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/gtk/help-overlay.ui7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/gtk/help-overlay.ui b/src/resources/gtk/help-overlay.ui
index 6361bad2a..32f7ccd30 100644
--- a/src/resources/gtk/help-overlay.ui
+++ b/src/resources/gtk/help-overlay.ui
@@ -149,6 +149,13 @@
<property name="accelerator">&lt;shift&gt;&lt;Primary&gt;Page_Down</property>
</object>
</child>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">True</property>
+ <property name="title" translatable="yes" context="shortcut window">Restore tab</property>
+ <property name="accelerator">&lt;shift&gt;&lt;Primary&gt;T</property>
+ </object>
+ </child>
</object>
</child>
<child>