summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserdialog.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-02-22 14:54:48 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2020-02-22 15:22:06 +0000
commit4a3742979dc84b06d46749678e6c9b0f7fdbac0c (patch)
tree76d304b5e7645d7c5dc2206f18583a09f6759cb3 /gtk/gtkfilechooserdialog.c
parentb09e7df81b433309374bd489e26fcd011dda988e (diff)
downloadgtk+-4a3742979dc84b06d46749678e6c9b0f7fdbac0c.tar.gz
Remove GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER
We don't need a whole separate action, now that the file chooser widget can create folders; we can create use SELECT_FOLDER and create one.
Diffstat (limited to 'gtk/gtkfilechooserdialog.c')
-rw-r--r--gtk/gtkfilechooserdialog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c
index 3cee274628..36e3e3e742 100644
--- a/gtk/gtkfilechooserdialog.c
+++ b/gtk/gtkfilechooserdialog.c
@@ -486,8 +486,7 @@ setup_save_entry (GtkFileChooserDialog *dialog)
header = gtk_dialog_get_header_bar (GTK_DIALOG (dialog));
- need_entry = action == GTK_FILE_CHOOSER_ACTION_SAVE ||
- action == GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER;
+ need_entry = action == GTK_FILE_CHOOSER_ACTION_SAVE;
if (need_entry && !priv->has_entry)
{