diff options
author | 2013-10-12 12:17:20 +0200 | |
---|---|---|
committer | 2013-10-12 12:17:20 +0200 | |
commit | e695590b6e36070a68fd3fb62947b178781ad707 (patch) | |
tree | ff18bf6625f01e56417eda8ba27e6e2e8f1c1c45 /plugins/gtkui/hotkeys.c | |
parent | b11cee15a7867130a37b473a764b2d708dd80d10 (diff) |
gtkui: allow to use any keys as hotkeys (no gtk_accelerator_valid test); removed the default gtkwindow ctrl+tab bindings
Diffstat (limited to 'plugins/gtkui/hotkeys.c')
-rw-r--r-- | plugins/gtkui/hotkeys.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/gtkui/hotkeys.c b/plugins/gtkui/hotkeys.c index 1d82f203..a8d4ee67 100644 --- a/plugins/gtkui/hotkeys.c +++ b/plugins/gtkui/hotkeys.c @@ -757,6 +757,7 @@ on_hotkeys_set_key_key_press_event (GtkWidget *widget, } } +#if 0 if (!gtk_accelerator_valid (accel_key, accel_mods)) { gtk_button_set_label (GTK_BUTTON (widget), _("Invalid key combination! try again!")); @@ -764,6 +765,7 @@ on_hotkeys_set_key_key_press_event (GtkWidget *widget, goto out; } +#endif last_accel_key = accel_key; last_accel_mask = accel_mods; get_keycombo_string (last_accel_key, last_accel_mask, name); |