[Patches] [ python-Patches-1717170 ] "Really print?" Dialog

SourceForge.net noreply at sourceforge.net
Sun Jul 22 15:57:18 CEST 2007


Patches item #1717170, was opened at 2007-05-11 15:38
Message generated for change (Comment added) made by taleinat
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1717170&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: IDLE
Group: None
Status: Open
Resolution: None
Priority: 3
Private: No
Submitted By: Tal Einat (taleinat)
Assigned to: Nobody/Anonymous (nobody)
Summary: "Really  print?" Dialog

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: Tal Einat (taleinat)
Date: 2007-07-22 16:57

Message:
Logged In: YES 
user_id=1330769
Originator: YES

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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1717170&group_id=5470


More information about the Patches mailing list