[gnote] Add F10 accelerator for gears button
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Add F10 accelerator for gears button
- Date: Sat, 18 May 2013 19:36:50 +0000 (UTC)
commit fed3dffc17b911142ded55c52c4e8a8d26cccb30
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sat May 18 22:28:42 2013 +0300
Add F10 accelerator for gears button
src/recentchanges.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/recentchanges.cpp b/src/recentchanges.cpp
index 03ffe71..00b5fef 100644
--- a/src/recentchanges.cpp
+++ b/src/recentchanges.cpp
@@ -179,6 +179,7 @@ namespace gnote {
button->set_image(*image);
button->signal_clicked().connect(
boost::bind(sigc::mem_fun(*this, &NoteRecentChanges::on_show_window_menu), button));
+ button->add_accelerator("activate", get_accel_group(), GDK_KEY_F10, (Gdk::ModifierType) 0,
(Gtk::AccelFlags) 0);
button->show_all();
right_box->attach(*button, 1, 0, 1, 1);
right_box->show();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]