[gnome-commander/vte] vte: properly unregister CTRL+O when used for options.edit
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/vte] vte: properly unregister CTRL+O when used for options.edit
- Date: Thu, 3 Jun 2010 18:52:35 +0000 (UTC)
commit ac67f3aed276ec1101beb51f6bb946624f3f78ad
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Thu Jun 3 20:50:53 2010 +0200
vte: properly unregister CTRL+O when used for options.edit
src/gnome-cmd-user-actions.cc | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/gnome-cmd-user-actions.cc b/src/gnome-cmd-user-actions.cc
index 365ecc3..66e0f89 100644
--- a/src/gnome-cmd-user-actions.cc
+++ b/src/gnome-cmd-user-actions.cc
@@ -351,11 +351,8 @@ void GnomeCmdUserActions::init()
if (!registered("view.close_tab"))
register_action(GDK_CONTROL_MASK, GDK_W, "view.close_tab");
- if (!registered("view.terminal"))
- {
- unregister(GDK_CONTROL_MASK, GDK_O); // unregister CTRL+O as it was used previously for options.edit
- register_action(GDK_CONTROL_MASK, GDK_O, "view.terminal");
- }
+ unregister(GDK_CONTROL_MASK, GDK_O);
+ register_action(GDK_CONTROL_MASK | GDK_SHIFT_MASK, GDK_O, "options.edit");
unregister(GDK_F9); // unregister F9 if defined in [key-bindings]
register_action(GDK_F9, "edit.search"); // and overwrite it with edit.search action
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]