f6a919aedc
from upstream git
26 lines
744 B
Plaintext
26 lines
744 B
Plaintext
$OpenBSD: patch-src_NWindow_h,v 1.1 2012/04/10 18:23:55 jasper Exp $
|
|
|
|
Added keyboard shortcuts for quitting.
|
|
|
|
From upstream git commit: d66f9af886692c946b4144271d8cca23483ba489
|
|
|
|
--- src/NWindow.h.orig Tue Apr 10 20:18:26 2012
|
|
+++ src/NWindow.h Tue Apr 10 20:18:33 2012
|
|
@@ -49,6 +49,8 @@ class NWindow : public Gtk::Window {
|
|
|
|
protected:
|
|
|
|
+ Glib::RefPtr<Gtk::ActionGroup> m_action_group;
|
|
+ Glib::RefPtr<Gtk::UIManager> m_ui_manager;
|
|
Gtk::VBox main_vbox;
|
|
Gtk::HBox bot_hbox;
|
|
|
|
@@ -62,6 +64,7 @@ class NWindow : public Gtk::Window {
|
|
|
|
void setup_select_boxes();
|
|
|
|
+ void sighandle_accel_quit();
|
|
void sighandle_togb_list_toggled();
|
|
void sighandle_togb_icon_toggled();
|
|
void sighandle_btn_prefs();
|