diff options
author | Federico Mena Quintero <federico@ximian.com> | 2004-03-30 00:14:12 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2004-03-30 00:14:12 +0800 |
commit | 87b1f025f2eaacaf1eaaa259018adddb4a9298ab (patch) | |
tree | 6920d89f239dfdcce2581a4f7f1920b7ce503617 /embed/mozilla/EphyHeaderSniffer.cpp | |
parent | 6c4542fb9b2e2c263765db7da0c1c8e866a8e327 (diff) | |
download | gsoc2013-epiphany-87b1f025f2eaacaf1eaaa259018adddb4a9298ab.tar gsoc2013-epiphany-87b1f025f2eaacaf1eaaa259018adddb4a9298ab.tar.gz gsoc2013-epiphany-87b1f025f2eaacaf1eaaa259018adddb4a9298ab.tar.bz2 gsoc2013-epiphany-87b1f025f2eaacaf1eaaa259018adddb4a9298ab.tar.lz gsoc2013-epiphany-87b1f025f2eaacaf1eaaa259018adddb4a9298ab.tar.xz gsoc2013-epiphany-87b1f025f2eaacaf1eaaa259018adddb4a9298ab.tar.zst gsoc2013-epiphany-87b1f025f2eaacaf1eaaa259018adddb4a9298ab.zip |
Fixes #138263.
2004-03-29 Federico Mena Quintero <federico@ximian.com>
Fixes #138263.
* lib/ephy-file-chooser.h: Remove EPHY_RESPONSE_OPEN and
EPHY_RESPONSE_SAVE; we'll use GTK_RESPONSE_ACCEPT instead.
* lib/ephy-file-chooser.c (ephy_file_chooser_new): Use
GTK_RESPONSE_ACCEPT rather than EPHY_RESPONSE_*.
* embed/print-dialog.c (print_filechooser_response_cb): Likewise.
* src/bookmarks/ephy-bookmarks-editor.c
(import_from_file_response_cb): Likewise.
* src/prefs-dialog.c (download_path_response_cb): Likewise.
* src/window-commands.c (open_response_cb): Likewise.
* embed/mozilla/ContentHandler.cpp (PromptForSaveToFile):
Likewise.
* embed/mozilla/EphyHeaderSniffer.cpp (filechooser_response_cb):
Likewise.
* embed/mozilla/FilePicker.cpp (Init): Likewise.
(Show): Likewise.
Diffstat (limited to 'embed/mozilla/EphyHeaderSniffer.cpp')
-rw-r--r-- | embed/mozilla/EphyHeaderSniffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/EphyHeaderSniffer.cpp b/embed/mozilla/EphyHeaderSniffer.cpp index 68e51ca6c..d7165af18 100644 --- a/embed/mozilla/EphyHeaderSniffer.cpp +++ b/embed/mozilla/EphyHeaderSniffer.cpp @@ -199,7 +199,7 @@ EphyHeaderSniffer::OnSecurityChange (nsIWebProgress *aWebProgress, nsIRequest *a static void filechooser_response_cb (EphyFileChooser *dialog, gint response, EphyHeaderSniffer* sniffer) { - if (response == EPHY_RESPONSE_SAVE) + if (response == GTK_RESPONSE_ACCEPT) { char *filename; GtkWidget *parent = NULL; // FIXME! |