diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-11-03 03:01:43 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-11-03 03:01:43 +0800 |
commit | 768567d3d36f935870adc47bb0b5930db1549e15 (patch) | |
tree | c6243cabee58ac4a3e922c441200622ec7ac7448 | |
parent | 3a4e04be99f31b2fbf4515efd5bc369630dc4006 (diff) | |
download | gsoc2013-epiphany-768567d3d36f935870adc47bb0b5930db1549e15.tar gsoc2013-epiphany-768567d3d36f935870adc47bb0b5930db1549e15.tar.gz gsoc2013-epiphany-768567d3d36f935870adc47bb0b5930db1549e15.tar.bz2 gsoc2013-epiphany-768567d3d36f935870adc47bb0b5930db1549e15.tar.lz gsoc2013-epiphany-768567d3d36f935870adc47bb0b5930db1549e15.tar.xz gsoc2013-epiphany-768567d3d36f935870adc47bb0b5930db1549e15.tar.zst gsoc2013-epiphany-768567d3d36f935870adc47bb0b5930db1549e15.zip |
Adjust return value so that mozilla doesn't erreonously put up a failure
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.
-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); |