[gnote] Remove close item from actions menu
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Remove close item from actions menu
- Date: Sun, 20 Aug 2017 17:16:50 +0000 (UTC)
commit b1885b06fceb78e49366a1d539c64e62bc99d5d2
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Aug 20 20:15:19 2017 +0300
Remove close item from actions menu
src/recentchanges.cpp | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/recentchanges.cpp b/src/recentchanges.cpp
index acb2dcc..a833ef6 100644
--- a/src/recentchanges.cpp
+++ b/src/recentchanges.cpp
@@ -786,12 +786,6 @@ namespace gnote {
}
}
- menu_box->add(*manage(new Gtk::Separator));
- Gtk::Widget *close_item = manage(utils::create_popover_button("win.close-window", _("_Close")));
- close_item->add_accelerator("activate", get_accel_group(), GDK_KEY_W, Gdk::CONTROL_MASK,
Gtk::ACCEL_VISIBLE);
- close_item->add_accelerator("activate", get_accel_group(), GDK_KEY_Q, Gdk::CONTROL_MASK,
Gtk::ACCEL_VISIBLE);
- menu_box->add(*close_item);
-
menu->add(*menu_box);
for(auto & submenu : submenus) {
menu->add(*submenu.second);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]