[gnote] Add <Ctrl>Left accelerator to go from note to main window



commit caec29c8d0593d77a3445622aaed25b0ec1b4e34
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sat Aug 13 20:22:54 2016 +0300

    Add <Ctrl>Left accelerator to go from note to main window

 src/recentchanges.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/recentchanges.cpp b/src/recentchanges.cpp
index 01a00a8..5cd56ae 100644
--- a/src/recentchanges.cpp
+++ b/src/recentchanges.cpp
@@ -150,6 +150,7 @@ namespace gnote {
     m_all_notes_button->set_image(*image);
     m_all_notes_button->set_tooltip_text(_("All Notes"));
     m_all_notes_button->signal_clicked().connect(sigc::mem_fun(*this, 
&NoteRecentChanges::on_all_notes_button_clicked));
+    m_all_notes_button->add_accelerator("activate", get_accel_group(), GDK_KEY_Left, Gdk::CONTROL_MASK, 
(Gtk::AccelFlags) 0);
     m_all_notes_button->show_all();
     left_box->attach(*m_all_notes_button, 0, 0, 1, 1);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]