[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, 19 Feb 2013 01:45:48 +0000 (UTC)
commit d14992d14d0fa786f8ffe67a6381f2570dbf388c
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 d1bf5bb..a23f274 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]