103 Commits

Author SHA1 Message Date
chanial%noos.fr
d5c9b0ed19 bug 224399: fix the print toolbar button. I missed an occurence of BrowserPrint(). Use of the command system and rename Browser:Print to cmd_print.
git-svn-id: svn://10.0.0.236/trunk@148873 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-05 20:45:34 +00:00
chanial%noos.fr
00a6832942 - Rewrite the way we handle print preview so that it can be used in any XUL app. This is achieved by adding a new "public" method to PrintUtils:
PrintUtils.printPreview(enterPPCallback, exitPPCallback) where the optional callback functions are called just before entering and after exiting PP mode

- disable all short keys in PP mode except ctrl-W and fix bug 178485 and bug 215277. Now clicking the close window icon actually closes the window.

- global vars gPrintSettingsAreGlobal, gSavePrintSettings, gPrintSettings, gOldCloseHandler, gInPrintPreviewMode, gWebProgress are removed.

- A lot of cleanup.


git-svn-id: svn://10.0.0.236/trunk@148474 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-29 08:01:27 +00:00
hyatt%mozilla.org
779e664351 Separate keys, commands, broadcasters, and string bundles into their own file.
git-svn-id: svn://10.0.0.236/trunk@145858 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-11 08:12:19 +00:00