summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserentry.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2004-08-06 19:25:25 +0000
committerFederico Mena Quintero <federico@src.gnome.org>2004-08-06 19:25:25 +0000
commitbbd78cd9a0abf6f529bdf1029e33752e3ee07d2f (patch)
tree87a507a2b68c95fae5dead87847308c9f87c7fe8 /gtk/gtkfilechooserentry.c
parent74051776903510c93434e4c628c26eaeb24de522 (diff)
downloadgtk+-bbd78cd9a0abf6f529bdf1029e33752e3ee07d2f.tar.gz
Fix #144232:
2004-08-06 Federico Mena Quintero <federico@ximian.com> Fix #144232: * gtk/gtkfilechooserdefault.c (save_widgets_create): Use a GtkFileChooserEntry for the file name, rather than a GtkEntry. (update_chooser_entry): Set the contents of the file chooser entry rather than the plain entry's. (gtk_file_chooser_default_set_current_folder): Set the new folder on the save entry. (gtk_file_chooser_default_set_current_name): Set the name on the file chooser entry. (check_save_entry): Use the file chooser entry rather than the plain entry. * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_set_base_folder): Call gtk_file_chooser_entry_changed() so that we recompute the current folder based on the new base folder.
Diffstat (limited to 'gtk/gtkfilechooserentry.c')
-rw-r--r--gtk/gtkfilechooserentry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c
index 6bc9d8a9a3..90671792bf 100644
--- a/gtk/gtkfilechooserentry.c
+++ b/gtk/gtkfilechooserentry.c
@@ -841,6 +841,7 @@ _gtk_file_chooser_entry_set_base_folder (GtkFileChooserEntry *chooser_entry,
chooser_entry->base_folder = gtk_file_path_copy (path);
+ gtk_file_chooser_entry_changed (GTK_EDITABLE (chooser_entry));
gtk_editable_select_region (GTK_EDITABLE (chooser_entry), 0, -1);
}