Browse Source

removed the last stock gtk binding

merge-requests/365/head
tedjk 11 years ago
parent
commit
d93b864fdb
  1. 1
      juci/config.json
  2. 4
      juci/window.cc

1
juci/config.json

@ -38,6 +38,7 @@
"open_file": "<control>o", "open_file": "<control>o",
"save": "<control>s", "save": "<control>s",
"save_as": "<control><shift>s", "save_as": "<control><shift>s",
"quit": "<control>q",
"split_window": "<control><alt>s", "split_window": "<control><alt>s",
"close_tab": "<control>w", "close_tab": "<control>w",

4
juci/window.cc

@ -16,7 +16,9 @@ Window::Window() :
set_default_size(600, 400); set_default_size(600, 400);
add(window_box_); add(window_box_);
keybindings_.action_group_menu()->add(Gtk::Action::create("FileQuit", keybindings_.action_group_menu()->add(Gtk::Action::create("FileQuit",
Gtk::Stock::QUIT), "Quit juCi++"),
Gtk::AccelKey(keybindings_.config_
.key_map()["quit"]),
[this]() { [this]() {
OnWindowHide(); OnWindowHide();
}); });

Loading…
Cancel
Save