* Fixes NB#87030 do not close the settings dialog when canceling the "discard change...
authorSergio Villar Senin <svillar@igalia.com>
Thu, 11 Sep 2008 11:10:15 +0000 (11:10 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Thu, 11 Sep 2008 11:10:15 +0000 (11:10 +0000)
pmo-trunk-r5542

src/widgets/modest-global-settings-dialog.c

index 9c0d724..0c18ea7 100644 (file)
@@ -464,7 +464,7 @@ on_response (GtkDialog *dialog,
                                                                            _("imum_nc_wizard_confirm_lose_changes"));
                        /* Do not close if the user Cancels */
                        if (response == GTK_RESPONSE_CANCEL)
                                                                            _("imum_nc_wizard_confirm_lose_changes"));
                        /* Do not close if the user Cancels */
                        if (response == GTK_RESPONSE_CANCEL)
-                               g_signal_stop_emission_by_name (dialog, "response");
+                               g_signal_stop_emission_by_name (user_data, "response");
                }
        }
 }
                }
        }
 }