diff options
author | David Robillard <d@drobilla.net> | 2015-04-05 07:28:02 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-04-05 07:28:02 +0000 |
commit | ca880d49c18e7d916509180da3da9ec8854fa8bf (patch) | |
tree | c9cad1587714aabba6364ab1ece1513008bc2a52 | |
parent | ee46687739a65a12c712dac86bc10bdfebe6dede (diff) | |
download | ingen-ca880d49c18e7d916509180da3da9ec8854fa8bf.tar.gz ingen-ca880d49c18e7d916509180da3da9ec8854fa8bf.tar.bz2 ingen-ca880d49c18e7d916509180da3da9ec8854fa8bf.zip |
Add mnemonics for value menu.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5665 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/gui/URIEntry.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/URIEntry.cpp b/src/gui/URIEntry.cpp index 19096057..8e97d906 100644 --- a/src/gui/URIEntry.cpp +++ b/src/gui/URIEntry.cpp @@ -76,7 +76,7 @@ URIEntry::build_value_menu() // Value is not a class, add item menu->items().push_back( Gtk::Menu_Helpers::MenuElem( - label, + std::string("_") + label, sigc::bind(sigc::mem_fun(this, &URIEntry::uri_chosen), std::string(lilv_node_as_uri(inst))))); _app->set_tooltip(&menu->items().back(), inst); @@ -147,7 +147,7 @@ URIEntry::add_leaf_menu_item(Gtk::Menu* menu, { menu->items().push_back( Gtk::Menu_Helpers::MenuElem( - label, + std::string("_") + label, sigc::bind(sigc::mem_fun(this, &URIEntry::uri_chosen), std::string(lilv_node_as_uri(node))))); |