Philipp Hörist pushed to branch master at gajim / gajim


Commits:
8e6df65e by André Apitzsch at 2020-05-28T22:43:55+02:00
Improve shortcut behaviour on MacOS

Part of #8787.

- - - - -


2 changed files:

- gajim/application.py
- gajim/data/gui/shortcuts_window.ui


Changes:

=====================================
gajim/application.py
=====================================
@@ -568,12 +568,10 @@ class GajimApplication(Gtk.Application):
             'win.close-tab': ['<Control>w'],
             'win.move-tab-up': ['<Control><Shift>Page_Up'],
             'win.move-tab-down': ['<Control><Shift>Page_Down'],
-            'win.switch-next-tab': ['<Alt>Right'],
-            'win.switch-prev-tab': ['<Alt>Left'],
-            'win.switch-next-unread-tab-right': ['<Control>Tab',
-                                                 '<Control>Page_Down'],
-            'win.switch-next-unread-tab-left': ['<Control>ISO_Left_Tab',
-                                                '<Control>Page_Up'],
+            'win.switch-next-tab': ['<Control>Page_Down'],
+            'win.switch-prev-tab': ['<Control>Page_Up'],
+            'win.switch-next-unread-tab-right': ['<Control>Tab'],
+            'win.switch-next-unread-tab-left': ['<Control>ISO_Left_Tab'],
             'win.switch-tab-1': ['<Alt>1', '<Alt>KP_1'],
             'win.switch-tab-2': ['<Alt>2', '<Alt>KP_2'],
             'win.switch-tab-3': ['<Alt>3', '<Alt>KP_3'],


=====================================
gajim/data/gui/shortcuts_window.ui
=====================================
@@ -116,14 +116,14 @@
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
-                <property name="accelerator">&lt;alt&gt;Left 
&lt;ctrl&gt;Page_Up</property>
+                <property name="accelerator">&lt;ctrl&gt;Page_Up</property>
                 <property name="title" translatable="yes">Switch to the 
previous tab</property>
               </object>
             </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
-                <property name="accelerator">&lt;alt&gt;Right 
&lt;ctrl&gt;Page_Down</property>
+                <property name="accelerator">&lt;ctrl&gt;Page_Down</property>
                 <property name="title" translatable="yes">Switch to the next 
tab</property>
               </object>
             </child>



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/8e6df65eb84a78d981b5461942944ac37ee2c376

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/8e6df65eb84a78d981b5461942944ac37ee2c376
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to