diff options
author | Federico Mena Quintero <federico@ximian.com> | 2004-03-30 00:05:23 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2004-03-30 00:05:23 +0800 |
commit | 9fb5753f5269d9ce94a0815660dfc907c6d96cdf (patch) | |
tree | ca05877a390f51ec9dc586a05a32ffd3600bb9a8 /src | |
parent | df0bef1f04e5cc6782a80fe328805f806b579cd3 (diff) | |
download | gsoc2013-epiphany-9fb5753f5269d9ce94a0815660dfc907c6d96cdf.tar gsoc2013-epiphany-9fb5753f5269d9ce94a0815660dfc907c6d96cdf.tar.gz gsoc2013-epiphany-9fb5753f5269d9ce94a0815660dfc907c6d96cdf.tar.bz2 gsoc2013-epiphany-9fb5753f5269d9ce94a0815660dfc907c6d96cdf.tar.lz gsoc2013-epiphany-9fb5753f5269d9ce94a0815660dfc907c6d96cdf.tar.xz gsoc2013-epiphany-9fb5753f5269d9ce94a0815660dfc907c6d96cdf.tar.zst gsoc2013-epiphany-9fb5753f5269d9ce94a0815660dfc907c6d96cdf.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 'src')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-editor.c | 2 | ||||
-rw-r--r-- | src/prefs-dialog.c | 2 | ||||
-rw-r--r-- | src/window-commands.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c index fab8237a6..f789922a2 100644 --- a/src/bookmarks/ephy-bookmarks-editor.c +++ b/src/bookmarks/ephy-bookmarks-editor.c @@ -515,7 +515,7 @@ import_from_file_response_cb (GtkDialog *dialog, gint response, { char *filename; - if (response == EPHY_RESPONSE_OPEN) + if (response == GTK_RESPONSE_ACCEPT) { filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog)); diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c index 017151c5f..1261c57f1 100644 --- a/src/prefs-dialog.c +++ b/src/prefs-dialog.c @@ -1282,7 +1282,7 @@ prefs_homepage_blank_button_clicked_cb (GtkWidget *button, static void download_path_response_cb (GtkDialog *fc, gint response, EphyDialog *dialog) { - if (response == EPHY_RESPONSE_OPEN) + if (response == GTK_RESPONSE_ACCEPT) { char *dir; diff --git a/src/window-commands.c b/src/window-commands.c index 2611dcbe6..f6618f985 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -364,7 +364,7 @@ window_cmd_file_bookmark_page (GtkAction *action, static void open_response_cb (GtkDialog *dialog, int response, EphyWindow *window) { - if (response == EPHY_RESPONSE_OPEN) + if (response == GTK_RESPONSE_ACCEPT) { char *uri, *converted; |