mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
patches from lincoln to speed up the regionlist and provide region removal (causes dangling shared ptrs to regions, fix to come
git-svn-id: svn://localhost/ardour2/branches/3.0@8845 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7ac5d03cb8
commit
7a5b6a5031
16 changed files with 468 additions and 362 deletions
|
|
@ -147,7 +147,7 @@ UI::load_rcfile (string path, bool themechange)
|
|||
return -1;
|
||||
}
|
||||
|
||||
if (access (path.c_str(), R_OK)) {
|
||||
if (!Glib::file_test (path, Glib::FILE_TEST_EXISTS|Glib::FILE_TEST_IS_REGULAR)) {
|
||||
error << "UI: couldn't find rc file \""
|
||||
<< path
|
||||
<< '"'
|
||||
|
|
@ -155,12 +155,11 @@ UI::load_rcfile (string path, bool themechange)
|
|||
return -1;
|
||||
}
|
||||
|
||||
RC rc (path.c_str());
|
||||
gtk_rc_reset_styles (gtk_settings_get_default());
|
||||
//vector<string> files;
|
||||
//files.push_back(path.c_str());
|
||||
//RC::set_default_files(files);
|
||||
//RC::reparse_all (Gtk::Settings::get_default(), true);
|
||||
RC rc (path.c_str());
|
||||
//this is buggy in gtkmm for some reason, so use C
|
||||
//RC::reset_styles (Gtk::Settings::get_default());
|
||||
gtk_rc_reset_styles (gtk_settings_get_default());
|
||||
|
||||
theme_changed.emit();
|
||||
|
||||
if (themechange) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue