diff options
| author | Bryce Harrington <bryce@bryceharrington.org> | 2019-02-09 22:45:05 +0000 |
|---|---|---|
| committer | Bryce Harrington <bryce@bryceharrington.org> | 2019-02-09 22:45:05 +0000 |
| commit | f07f5ebff9efb6f2255ecb5cc1602b7fdb7c8e05 (patch) | |
| tree | f3d2bd6ac81fbd83bd83f91c62aea355179a85f5 | |
| parent | Consistently use title case in menus (!521) (diff) | |
| download | inkscape-f07f5ebff9efb6f2255ecb5cc1602b7fdb7c8e05.tar.gz inkscape-f07f5ebff9efb6f2255ecb5cc1602b7fdb7c8e05.zip | |
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
| -rw-r--r-- | src/ui/desktop/menubar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Gtk::RecentChooserMenu*>(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; |
