Opened 4 years ago

Closed 4 years ago

#3318 closed feature-request (Fixed)

Add keyboard shortcut to File → Quit menu item

Reported by: asjoegren Owned by:
Priority: minor Milestone: 2.0.4
Component: GTK UI Version: 2.0.3
Keywords: keyboard shortcut Cc:

Description

Deluge-gtk 2.0.3 has a keyboard shortcut for Quit & Shutdown daemon (Shift+Ctrl+Q), but no shortcut for Quit.

This patch adds a keyboard shortcut for Quit (Ctrl+Q):

--- ui/gtk3/glade/main_window.ui.orig	2019-11-03 14:01:29.250274885 +0100
+++ ui/gtk3/glade/main_window.ui	2019-11-03 14:01:44.642187366 +0100
@@ -174,6 +174,7 @@
                         <property name="use_stock">False</property>
                         <property name="accel_group">accelgroup1</property>
                         <signal name="activate" handler="on_menuitem_quit_activate" swapped="no"/>
+                        <accelerator key="Q" signal="activate" modifiers="GDK_CONTROL_MASK"/>
                       </object>
                     </child>
                   </object>

Change History (1)

comment:1 Changed 4 years ago by Cas

  • Milestone changed from needs verified to 2.0.4
  • Resolution set to Fixed
  • Status changed from new to closed

Merged in [76f0bf2e04b1b6b]

Note: See TracTickets for help on using tickets.