diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/mozilla/EphyHeaderSniffer.cpp | 7 |
2 files changed, 11 insertions, 3 deletions
@@ -1,5 +1,12 @@ 2005-01-18 Christian Persch <chpe@cvs.gnome.org> + * embed/mozilla/EphyHeaderSniffer.cpp: + + Really make confirm-overwrite dialogue have a parent window. + Fixes bug #164189. + +2005-01-18 Christian Persch <chpe@cvs.gnome.org> + * lib/ephy-dialog.c: (ephy_dialog_set_size_group): Fix mem leak. Fixes bug #164302. diff --git a/embed/mozilla/EphyHeaderSniffer.cpp b/embed/mozilla/EphyHeaderSniffer.cpp index d751a6941..cde2fa1d2 100644 --- a/embed/mozilla/EphyHeaderSniffer.cpp +++ b/embed/mozilla/EphyHeaderSniffer.cpp @@ -203,16 +203,17 @@ EphyHeaderSniffer::OnSecurityChange (nsIWebProgress *aWebProgress, nsIRequest *a } static void -filechooser_response_cb (EphyFileChooser *dialog, gint response, EphyHeaderSniffer* sniffer) +filechooser_response_cb (GtkWidget *dialog, + gint response, + EphyHeaderSniffer* sniffer) { if (response == GTK_RESPONSE_ACCEPT) { char *filename; - GtkWidget *parent = NULL; // FIXME! filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog)); - if (ephy_gui_confirm_overwrite_file (parent, filename) == FALSE) + if (ephy_gui_confirm_overwrite_file (dialog, filename) == FALSE) { g_free (filename); return; |