This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: "Really print?" Dialog
Type: Stage:
Components: IDLE Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: kbk Nosy List: kbk, taleinat
Priority: low Keywords: patch

Created on 2007-05-11 12:38 by taleinat, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
IDLE_PrintDialog.070722.patch taleinat, 2007-07-22 13:57 updated patch
Messages (4)
msg52617 - (view) Author: Tal Einat (taleinat) * (Python committer) Date: 2007-05-11 12:38
Currently, hitting the keyboard shortcut for the Print command sends whatever is in the current window to be printed. This happens by accident often enough to be a significant annoyance.

This simple patch to IOBinding.py makes the print command pop up a simple yes/no dialog which asks "Are you sure you want to print the window's contents?".

Some colleagues and I have been using this for several months to our satisfaction. It has saved me from printing by accident 3 times already.
msg52618 - (view) Author: Tal Einat (taleinat) * (Python committer) Date: 2007-07-22 13:57
Uploaded updated patch, with extremely minor fix: use tkMessageBox.YES instead of "yes" when checking the dialog's result.

On a different note, this is a very simple and minor patch, but will be very helpful to all users. Please give it a quick look...
File Added: IDLE_PrintDialog.070722.patch
msg56889 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2007-10-28 19:08
r58700.  Thanks for the patch!
(Used OK/Cancel and simplified message.)
msg56894 - (view) Author: Tal Einat (taleinat) * (Python committer) Date: 2007-10-28 21:54
:)

Minor note - shouldn't there be a question mark at the end of the message?
History
Date User Action Args
2022-04-11 14:56:24adminsetgithub: 44947
2007-10-28 21:54:07taleinatsetmessages: + msg56894
2007-10-28 19:08:08kbksetstatus: open -> closed
assignee: kbk
resolution: accepted
messages: + msg56889
nosy: + kbk
2007-05-11 12:38:32taleinatcreate