diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-24 13:28:27 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-24 13:28:27 +0000 |
commit | 2ba936f0b3ae0472653c1d47c11819c8c5c70cce (patch) | |
tree | 942396cd21490d625aadcce749829a1ef2fcea22 /libs | |
parent | 211b57b3038ccb01d3b852e43940ba24f8ba5463 (diff) |
Fix port matrix menu checkbox when the window is closed. Make the port matrix origin the bottom left when tabs are on left and bottom. Don't shrink the port matrix when auto-resizing it.
git-svn-id: svn://localhost/ardour2/branches/3.0@7673 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/gtkmm2ext/actions.cc | 4 | ||||
-rw-r--r-- | libs/gtkmm2ext/gtkmm2ext/actions.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libs/gtkmm2ext/actions.cc b/libs/gtkmm2ext/actions.cc index bff718e9b7..e9ff15fa46 100644 --- 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) { diff --git a/libs/gtkmm2ext/gtkmm2ext/actions.h b/libs/gtkmm2ext/gtkmm2ext/actions.h index 5616bbb302..da19015313 100644 --- a/libs/gtkmm2ext/gtkmm2ext/actions.h +++ b/libs/gtkmm2ext/gtkmm2ext/actions.h @@ -77,7 +77,7 @@ namespace ActionManager { std::vector<std::string>& paths, std::vector<Gtk::AccelKey>& bindings); - extern void uncheck_toggleaction (const char * actionname); + extern void uncheck_toggleaction (std::string); }; #endif /* __libgtkmm2ext_actions_h__ */ |