diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-02-27 22:50:01 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-02-27 22:50:01 +0800 |
commit | b19f5097e2c7c2a433f48064346685cfc89a16ce (patch) | |
tree | b1be8cb03a9a023578f3b9c8802a4801b5eadf56 /src | |
parent | 9f59023c308b583478e4519cf8d08419db4361b0 (diff) | |
download | gsoc2013-epiphany-b19f5097e2c7c2a433f48064346685cfc89a16ce.tar.gz gsoc2013-epiphany-b19f5097e2c7c2a433f48064346685cfc89a16ce.tar.zst gsoc2013-epiphany-b19f5097e2c7c2a433f48064346685cfc89a16ce.zip |
Fix for gtk+ filechooser API change.
2004-02-27 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/FilePicker.cpp:
* lib/ephy-file-chooser.c: (ephy_file_chooser_init),
(ephy_file_chooser_new):
* src/prefs-dialog.c: (prefs_download_path_button_clicked_cb):
Fix for gtk+ filechooser API change.
Diffstat (limited to 'src')
-rw-r--r-- | src/prefs-dialog.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c index 398b90a89..017151c5f 100644 --- a/src/prefs-dialog.c +++ b/src/prefs-dialog.c @@ -1321,9 +1321,8 @@ prefs_download_path_button_clicked_cb (GtkWidget *button, fc = ephy_file_chooser_new (_("Select a directory"), GTK_WIDGET (parent), - GTK_FILE_CHOOSER_ACTION_OPEN, + GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, NULL); - gtk_file_chooser_set_folder_mode (GTK_FILE_CHOOSER (fc), TRUE); g_signal_connect (GTK_DIALOG (fc), "response", G_CALLBACK (download_path_response_cb), |