Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Commit 7c45516

Browse files
Added quit command
1 parent 2594607 commit 7c45516

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/MainWindow.vala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ public class MainWindow : Gtk.Window{
5050
headerBar.searchEntry.grab_focus();
5151
}
5252
break;
53+
case Gdk.Key.q:
54+
if ((e.state & Gdk.ModifierType.CONTROL_MASK) != 0) {
55+
Gtk.main_quit();
56+
}
57+
break;
5358
}
5459

5560
return false;

0 commit comments

Comments
 (0)