projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fb015b1
)
work around gtk filechooser bug.
author
Robin Gareus
<robin@gareus.org>
Mon, 23 Mar 2015 14:36:15 +0000
(15:36 +0100)
committer
Robin Gareus
<robin@gareus.org>
Mon, 23 Mar 2015 14:36:15 +0000
(15:36 +0100)
gtk2_ardour/startup.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/startup.cc
b/gtk2_ardour/startup.cc
index 4410410ef8d326cd6a703216d579d7870a1640dc..f559e3d90c6fa066d8a5306bd94f991a1afd6181 100644
(file)
--- a/
gtk2_ardour/startup.cc
+++ b/
gtk2_ardour/startup.cc
@@
-397,6
+397,14
@@
ArdourStartup::on_delete_event (GdkEventAny*)
void
ArdourStartup::on_apply ()
{
void
ArdourStartup::on_apply ()
{
+ /* file-chooser button does not emit 'current_folder_changed' signal
+ * when a folder from the dropdown or the sidebar is chosen.
+ * -> explicitly poll for the dir as suggested by the gtk documentation.
+ */
+ if (default_dir_chooser && default_dir_chooser->get_filename() != Config->get_default_session_parent_dir ()) {
+ config_modified = true;
+ }
+
if (config_modified) {
if (default_dir_chooser) {
if (config_modified) {
if (default_dir_chooser) {
@@
-433,6
+441,3
@@
ArdourStartup::move_along_now ()
{
on_apply ();
}
{
on_apply ();
}
-
-
-