[gnote] Change accelerator for Back button



commit c41729494fa45c9a1d1beeb4f16d7b31239646b6
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Mon Sep 12 23:46:00 2016 +0300

    Change accelerator for Back button
    
    Ctrl+Left is editing shortcut, switch to Ctrl+, (< is on the same key).

 data/ui/shortcuts-gnote.ui |    2 +-
 src/recentchanges.cpp      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/ui/shortcuts-gnote.ui b/data/ui/shortcuts-gnote.ui
index 6f9e798..e4e7a76 100644
--- a/data/ui/shortcuts-gnote.ui
+++ b/data/ui/shortcuts-gnote.ui
@@ -96,7 +96,7 @@
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
-                <property name="accelerator">&lt;Ctrl&gt;Left</property>
+                <property name="accelerator">&lt;Ctrl&gt;comma</property>
                 <property name="title" translatable="yes" context="shortcut window">Open actions 
menu</property>
               </object>
             </child>
diff --git a/src/recentchanges.cpp b/src/recentchanges.cpp
index 5120f97..1515cce 100644
--- a/src/recentchanges.cpp
+++ b/src/recentchanges.cpp
@@ -150,7 +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->add_accelerator("activate", get_accel_group(), GDK_KEY_comma, 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]