From 56e5547df0cf98d29f556adacb41c51fb42f9da5 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 16 Jan 2004 18:22:18 +0000 Subject: Use gtk_file_chooser_get_filename() instead of 2004-01-16 Christian Persch * src/prefs-dialog.c: (download_path_response_cb): Use gtk_file_chooser_get_filename() instead of gtk_file_chooser_get_current_folder(). Fixes bug #131646. --- ChangeLog | 7 +++++++ src/prefs-dialog.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 39f7d2199..50f37f185 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-01-16 Christian Persch + + * src/prefs-dialog.c: (download_path_response_cb): + + Use gtk_file_chooser_get_filename() instead of + gtk_file_chooser_get_current_folder(). Fixes bug #131646. + 2004-01-16 Christian Persch * src/ephy-window.c: (menu_item_select_cb), diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c index 5046aa267..76fc406ad 100644 --- a/src/prefs-dialog.c +++ b/src/prefs-dialog.c @@ -1276,7 +1276,7 @@ download_path_response_cb (GtkDialog *fc, gint response, EphyDialog *dialog) { char *dir; - dir = gtk_file_chooser_get_current_folder (GTK_FILE_CHOOSER (fc)); + dir = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (fc)); if (dir != NULL) { GtkWidget *button; -- cgit v1.2.3