[gnote] Fix Ctrl+comma not working as listed in shortcuts window



commit a06d6158226573b5672bea02c5574d1d0bca2325
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sat Aug 20 21:50:33 2022 +0300

    Fix Ctrl+comma not working as listed in shortcuts window

 src/recentchanges.cpp | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/recentchanges.cpp b/src/recentchanges.cpp
index e642cb1b..073a9ed7 100644
--- a/src/recentchanges.cpp
+++ b/src/recentchanges.cpp
@@ -291,6 +291,8 @@ namespace gnote {
       sigc::mem_fun(*this, &NoteRecentChanges::on_show_window_menu));
     m_window_actions_button->add_accelerator(
       "activate", m_accel_group, GDK_KEY_F10, (Gdk::ModifierType) 0, (Gtk::AccelFlags) 0);
+    m_window_actions_button->add_accelerator(
+      "activate", m_accel_group, GDK_KEY_comma, Gdk::CONTROL_MASK, (Gtk::AccelFlags) 0);
     m_window_actions_button->show_all();
     right_box->attach(*m_window_actions_button, right_box_pos++, 0, 1, 1);
     right_box->show();


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