[issue20406] Use application icon for IDLE

2014-02-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue20406] Use application icon for IDLE

2014-02-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset d4f9efd4be7d by Terry Jan Reedy in branch '2.7': Issue #20406: Use Python application icons for Idle window title bars. http://hg.python.org/cpython/rev/d4f9efd4be7d -- ___ Python tracker

[issue20406] Use application icon for IDLE

2014-02-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, it works right on Linux. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue20406] Use application icon for IDLE

2014-02-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: For 2.7, this substitution #root.wm_iconphoto(True, *icons) root.tk.call('wm', 'iconphoto', str(root), "-default", *icons) does not work on Windows. If I change the test string "Windows" to force execution to the tk.call above, the icon is a blac

[issue20406] Use application icon for IDLE

2014-02-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset bda1739215b4 by Terry Jan Reedy in branch '3.3': Issue #20406: Use Python application icons for Idle window title bars. http://hg.python.org/cpython/rev/bda1739215b4 New changeset 3aa6fd1dc2c9 by Terry Jan Reedy in branch 'default': Issue #20406: Us

[issue20406] Use application icon for IDLE

2014-01-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Related but separate issue. A TreeWidget used for browsing files uses the > old python.gif icon for .py files. I think we should switch to the modern > one that you uploaded as python_16x16.gif. Agree? Agree. As for 2.7, we can use root.tk.call('wm', '

[issue20406] Use application icon for IDLE

2014-01-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, 'works' means displayed for title bar and task switching. Related but separate issue. A TreeWidget used for browsing files uses the old python.gif icon for .py files. I think we should switch to the modern one that you uploaded as python_16x16.gif. Agree?

[issue20406] Use application icon for IDLE

2014-01-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file33823/idle_appicon_2.patch ___ Python tracker ___ ___ Python-bugs-list ma

[issue20406] Use application icon for IDLE

2014-01-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file33822/idle_appicon_2.patch ___ Python tracker ___ ___ Python-bugs-list

[issue20406] Use application icon for IDLE

2014-01-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, the default option of wm_iconbitmap works only on Windows. Does wm_iconbitmap affect taskbar icon and icon used in task switching? Here is a patch which supports also X11 systems. I'm nor sure about Mac. -- Added file: http://bugs.python.org/fil

[issue20406] Use application icon for IDLE

2014-01-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I see. MS Paint just pulled out one of the 16-pixel images. Photoshop (like Tk) refused to open the file. However, I found the following: iconbitmap = wm_iconbitmap(self, bitmap=None, default=None) Set bitmap for the iconified widget to BITMAP. Return t

[issue20406] Use application icon for IDLE

2014-01-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think that all icons used in Windows installer are in the repository. All four ico-files in the PC directory contains 7 images: 16, 32 and 48 pixels size and 4-, 8- and 32-bits per pixel. Three of them (except PC/launcher.ico) were added in issue1490384.

[issue20406] Use application icon for IDLE

2014-01-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Martin: is the medium 'python logo on white page' icon used in the Start menu in the repository or otherwise accessible? If not, could you upload it? --- I closed #15869 in favor of #1353344. Tk does not load .ico files (I tried). idle.gif is 16x16 because pc/

[issue20406] Use application icon for IDLE

2014-01-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: As for desctop icon, see also issue1353344 and issue15869. -- ___ Python tracker ___ ___ Python-bu

[issue20406] Use application icon for IDLE

2014-01-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: We can steal icon from http://www.python.org/favicon.ico. It contains three variants for different size (16, 32 and 48 pixels). Here is extracted and converted to GIF images. Please try them and original favicon on Windows. Or may be we even can cut larger i

[issue20406] Use application icon for IDLE

2014-01-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: For comparison. -- Added file: http://bugs.python.org/file33760/py.gif ___ Python tracker ___ ___ Py

[issue20406] Use application icon for IDLE

2014-01-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are two icon issues. First is the window icon at the left of the title bar of Idle windows. By the name 'wm_iconphote', I presume this is what this issue is about. Until recently, it *was* the red 'Tk' that is generally used for Tk windows. It is slightl

[issue20406] Use application icon for IDLE

2014-01-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Currently IDLE use default Tk icon. The proposed patch sets special application icon for IDLE. -- components: IDLE files: idle_appicon.patch keywords: patch messages: 209428 nosy: kbk, roger.serwy, serhiy.storchaka, terry.reedy priority: normal seve