[gparted/psusi/refactor: 11/19] Bind ctrl-enter to apply-operations
- From: Phillip Susi <psusi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gparted/psusi/refactor: 11/19] Bind ctrl-enter to apply-operations
- Date: Tue, 5 Feb 2013 00:42:29 +0000 (UTC)
commit 2cba6006e93706349b2e235a0fd4a39584c49fb8
Author: Phillip Susi <psusi ubuntu com>
Date: Sun Jan 20 23:20:11 2013 -0500
Bind ctrl-enter to apply-operations
Bind the keyboard accelerator key ctrl-enter to apply operations.
src/Win_GParted.cc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/Win_GParted.cc b/src/Win_GParted.cc
index e318531..1567c35 100644
--- a/src/Win_GParted.cc
+++ b/src/Win_GParted.cc
@@ -166,7 +166,8 @@ void Win_GParted::init_menubar()
sigc::mem_fun(*this, &Win_GParted::clear_operationslist) ) );
menu ->items() .push_back( Gtk::Menu_Helpers::ImageMenuElem(
- _("_Apply All Operations"),
+ _("_Apply All Operations"),
+ Gtk::AccelKey(GDK_Return, Gdk::CONTROL_MASK),
* manage( new Gtk::Image( Gtk::Stock::APPLY, Gtk::ICON_SIZE_MENU ) ),
sigc::mem_fun(*this, &Win_GParted::activate_apply) ) );
menubar_main .items() .push_back( Gtk::Menu_Helpers::MenuElem( _("_Edit"), *menu ) );
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]