summaryrefslogtreecommitdiffstats
path: root/src/gui/URIEntry.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-04-05 07:28:02 +0000
committerDavid Robillard <d@drobilla.net>2015-04-05 07:28:02 +0000
commitca880d49c18e7d916509180da3da9ec8854fa8bf (patch)
treec9cad1587714aabba6364ab1ece1513008bc2a52 /src/gui/URIEntry.cpp
parentee46687739a65a12c712dac86bc10bdfebe6dede (diff)
downloadingen-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
Diffstat (limited to 'src/gui/URIEntry.cpp')
-rw-r--r--src/gui/URIEntry.cpp4
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)))));