projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tweak search path for export profiles
[ardour.git]
/
libs
/
gtkmm2ext
/
actions.cc
diff --git
a/libs/gtkmm2ext/actions.cc
b/libs/gtkmm2ext/actions.cc
index bff718e9b74aeed5a9d660aacad164bb56879324..e9ff15fa461f263934cdac1b2ced7713f3920110 100644
(file)
--- a/
libs/gtkmm2ext/actions.cc
+++ b/
libs/gtkmm2ext/actions.cc
@@
-268,8
+268,10
@@
ActionManager::set_sensitive (vector<RefPtr<Action> >& actions, bool state)
}
void
-ActionManager::uncheck_toggleaction (
const char * name
)
+ActionManager::uncheck_toggleaction (
string n
)
{
+ char const * name = n.c_str ();
+
const char *last_slash = strrchr (name, '/');
if (last_slash == 0) {