diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/mozilla/PrintingPromptService.cpp | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,12 @@ 2003-11-02 Christian Persch <chpe@cvs.gnome.org> + * embed/mozilla/PrintingPromptService.cpp: (ShowPrintDialog): + + Adjust return value so that mozilla doesn't erreonously put up + a failure dialogue. + +2003-11-02 Christian Persch <chpe@cvs.gnome.org> + * embed/mozilla/PrintingPromptService.cpp: * embed/print-dialog.c: (print_dialog_new), (print_dialog_new_with_parent), (print_dialog_print), diff --git a/embed/mozilla/PrintingPromptService.cpp b/embed/mozilla/PrintingPromptService.cpp index 2e1783782..cace13cae 100644 --- a/embed/mozilla/PrintingPromptService.cpp +++ b/embed/mozilla/PrintingPromptService.cpp @@ -71,7 +71,7 @@ NS_IMETHODIMP GPrintingPromptService::ShowPrintDialog(nsIDOMWindow *parent, nsIW } else { - rv = NS_ERROR_FAILURE; + rv = NS_ERROR_ABORT; } g_object_unref (dialog); |