[totem/wip/hadess/more-shortcuts: 4/4] properties: Add Ctrl+I as a shortcut for Properties




commit e0336fe95c82f7370e675858445e7b130b88e422
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Feb 17 16:10:48 2022 +0100

    properties: Add Ctrl+I as a shortcut for Properties

 data/shortcuts.ui                               | 2 +-
 src/plugins/properties/totem-movie-properties.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/shortcuts.ui b/data/shortcuts.ui
index fe9a97cfe..809ef1f49 100644
--- a/data/shortcuts.ui
+++ b/data/shortcuts.ui
@@ -45,7 +45,7 @@
             <child>
               <object class="GtkShortcutsShortcut" id="properties">
                 <property name="visible">1</property>
-                <property name="accelerator">&lt;Primary&gt;p</property>
+                <property name="accelerator">&lt;Primary&gt;p &lt;Primary&gt;i</property>
                 <property name="title" translatable="yes" context="shortcut window">Properties</property>
               </object>
             </child>
diff --git a/src/plugins/properties/totem-movie-properties.c b/src/plugins/properties/totem-movie-properties.c
index 44ccf46b3..58f4cec4f 100644
--- a/src/plugins/properties/totem-movie-properties.c
+++ b/src/plugins/properties/totem-movie-properties.c
@@ -263,7 +263,7 @@ impl_activate (PeasActivatable *plugin)
        GtkWindow *parent;
        GMenu *menu;
        GMenuItem *item;
-       const char * const accels[] = { "<Primary>p", "View", NULL };
+       const char * const accels[] = { "<Primary>p", "<Primary>i", "View", NULL };
 
        pi = TOTEM_MOVIE_PROPERTIES_PLUGIN (plugin);
        totem = g_object_get_data (G_OBJECT (plugin), "object");


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