summaryrefslogtreecommitdiffhomepage
path: root/mixgtk
diff options
context:
space:
mode:
Diffstat (limited to 'mixgtk')
-rw-r--r--mixgtk/mixgtk.glade2
-rw-r--r--mixgtk/mixgtk_external.c7
2 files changed, 7 insertions, 2 deletions
diff --git a/mixgtk/mixgtk.glade b/mixgtk/mixgtk.glade
index 9afdd56..c28f6f4 100644
--- a/mixgtk/mixgtk.glade
+++ b/mixgtk/mixgtk.glade
@@ -1421,7 +1421,6 @@ disk7</property>
<property name="height_request">31</property>
<property name="visible">True</property>
<property name="use_preview_label">False</property>
- <property name="create_folders">False</property>
<property name="preview_widget_active">False</property>
</widget>
<packing>
@@ -1459,7 +1458,6 @@ disk7</property>
<property name="height_request">31</property>
<property name="visible">True</property>
<property name="use_preview_label">False</property>
- <property name="create_folders">False</property>
<property name="preview_widget_active">False</property>
<property name="title" translatable="yes">Select mixasm executable</property>
</widget>
diff --git a/mixgtk/mixgtk_external.c b/mixgtk/mixgtk_external.c
index 50fb421..534542f 100644
--- a/mixgtk/mixgtk_external.c
+++ b/mixgtk/mixgtk_external.c
@@ -108,6 +108,13 @@ init_widgets_ (void)
(GTK_FILE_CHOOSER (ext_wdg_[ext_wdg_asm_chooser]), filter);
gtk_file_chooser_set_filter
(GTK_FILE_CHOOSER (ext_wdg_[ext_wdg_ed_chooser]), filter);
+
+#if GTK_CHECK_VERSION (2,18,0)
+ gtk_file_chooser_set_create_folders
+ (GTK_FILE_CHOOSER (ext_wdg_[ext_wdg_asm_chooser]), FALSE);
+ gtk_file_chooser_set_create_folders
+ (GTK_FILE_CHOOSER (ext_wdg_[ext_wdg_ed_chooser]), FALSE);
+#endif // GTK_CHECK_VERSION
}
void