Commit caec29c8 authored by Aurimas Černius's avatar Aurimas Černius

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

parent bb260fe3
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment