[gnote] Change shortcut for find first/next to Ctrl-G/Ctrl-Shitf-G
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Change shortcut for find first/next to Ctrl-G/Ctrl-Shitf-G
- Date: Sun, 29 Nov 2020 19:01:51 +0000 (UTC)
commit b88433312ef5b01f905e54e19d84cfa7b4c872d9
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Nov 29 20:33:11 2020 +0200
Change shortcut for find first/next to Ctrl-G/Ctrl-Shitf-G
src/recentchanges.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/recentchanges.cpp b/src/recentchanges.cpp
index 1087f88c..1125bf54 100644
--- a/src/recentchanges.cpp
+++ b/src/recentchanges.cpp
@@ -1,7 +1,7 @@
/*
* gnote
*
- * Copyright (C) 2010-2019 Aurimas Cernius
+ * Copyright (C) 2010-2020 Aurimas Cernius
* Copyright (C) 2010 Debarshi Ray
* Copyright (C) 2009 Hubert Figuiere
*
@@ -255,7 +255,7 @@ namespace gnote {
find_next_button->set_always_show_image(true);
find_next_button->signal_clicked()
.connect(sigc::mem_fun(*this, &NoteRecentChanges::on_find_next_button_clicked));
- find_next_button->add_accelerator("activate", get_accel_group(), GDK_KEY_Return, (Gdk::ModifierType)0,
(Gtk::AccelFlags) 0);
+ find_next_button->add_accelerator("activate", get_accel_group(), GDK_KEY_G, Gdk::CONTROL_MASK,
(Gtk::AccelFlags) 0);
find_next_button->show();
m_find_next_prev_box.attach(*find_next_button, 0, 0, 1, 1);
@@ -264,7 +264,7 @@ namespace gnote {
find_prev_button->set_always_show_image(true);
find_prev_button->signal_clicked()
.connect(sigc::mem_fun(*this, &NoteRecentChanges::on_find_prev_button_clicked));
- find_prev_button->add_accelerator("activate", get_accel_group(), GDK_KEY_Return, Gdk::SHIFT_MASK,
(Gtk::AccelFlags) 0);
+ find_prev_button->add_accelerator("activate", get_accel_group(), GDK_KEY_G,
Gdk::CONTROL_MASK|Gdk::SHIFT_MASK, (Gtk::AccelFlags) 0);
find_prev_button->show();
m_find_next_prev_box.attach(*find_prev_button, 1, 0, 1, 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]