From f07f5ebff9efb6f2255ecb5cc1602b7fdb7c8e05 Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Sat, 9 Feb 2019 14:45:05 -0800 Subject: ui: Parse mnemonic for Open _Recent In Gtkmm, looks like when creating a MenuItem, there is a second boolean parameter to indicate if the string should be parsed for mnemonics. When the gtk code was converted to gtkmm (2c971690) the flag was left unspecified and defaulted to false. Fixes: https://gitlab.com/inkscape/inkscape/issues/57 --- src/ui/desktop/menubar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui') diff --git a/src/ui/desktop/menubar.cpp b/src/ui/desktop/menubar.cpp index 38d2a5ad3..e9ef9e897 100644 --- a/src/ui/desktop/menubar.cpp +++ b/src/ui/desktop/menubar.cpp @@ -464,7 +464,7 @@ build_menu(Gtk::MenuShell* menu, Inkscape::XML::Node* xml, Inkscape::UI::View::V recentchoosermenu->signal_item_activated().connect( sigc::bind(sigc::ptr_fun(&sp_recent_open), recentchoosermenu)); - Gtk::MenuItem* menuitem = Gtk::manage(new Gtk::MenuItem(_("Open _Recent"))); + Gtk::MenuItem* menuitem = Gtk::manage(new Gtk::MenuItem(_("Open _Recent"), true)); menuitem->set_submenu(*recentchoosermenu); menu->append(*menuitem); continue; -- cgit v1.2.3