[epiphany] Window: Add shortcut to Take Screenshot



commit 18601b4c11814dd7d753869852b0760a4d1ee988
Author: Cleo Menezes Jr <cleomenezesjr gmail com>
Date:   Sat Jul 23 19:15:01 2022 -0400

    Window: Add shortcut to Take Screenshot
    
    Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1176>

 src/ephy-window.c                     | 4 ++--
 src/resources/gtk/shortcuts-dialog.ui | 7 +++++++
 2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 3a4968855..50d97196b 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -88,9 +88,9 @@ const struct {
   { "win.page-menu", { "F10", NULL } },
   { "win.new-tab", { "<Primary>T", NULL } },
   { "win.open", { "<Primary>O", NULL } },
-  { "win.save-as", { "<shift><Primary>S", "<Primary>S", NULL } },
+  { "win.save-as", { "<Primary>S", NULL } },
   { "win.save-as-application", { "<shift><Primary>A", NULL } },
-  { "win.screeenshot", { "<shift><Primary>S", "<Primary>S", NULL } },
+  { "win.screenshot", { "<shift><Primary>S", NULL } },
   { "win.undo", { "<Primary>Z", NULL } },
   { "win.redo", { "<shift><Primary>Z", NULL } },
   { "win.copy", { "<Primary>C", NULL } },
diff --git a/src/resources/gtk/shortcuts-dialog.ui b/src/resources/gtk/shortcuts-dialog.ui
index b42bae35b..ad9a22794 100644
--- a/src/resources/gtk/shortcuts-dialog.ui
+++ b/src/resources/gtk/shortcuts-dialog.ui
@@ -41,6 +41,13 @@
                 <property name="accelerator">&lt;Primary&gt;S</property>
               </object>
             </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="title" translatable="yes" context="shortcut window">Take 
Screenshot</property>
+                <property name="accelerator">&lt;shift&gt;&lt;Primary&gt;S</property>
+              </object>
+            </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]