Serhiy Storchaka added the comment:

I think we should use class_="IDLE3" (or class_="Idle3") on Python 3. I did not 
check, but I suppose this should has following effects on Gnome Shell:

* Gnome Shell should display IDLE icon from desktop file in different places.
* When IDLE is launched, clicking on it in the dock in the overview should 
brings focus to it.

Saimadhav, please try class_="Idle" (title case). I suppose that IDLE's 
activity bar entry will be named "IDLE" (upper case), because Gnome Shell will 
get the name from IDLE's desktop file (/usr/share/applications/idle.desktop).

There is duplicate issue (issue13553) but it doesn't provide good solution.

For the demonstration, folowing code displays on KDE two windows with IDLE icon 
if IDLE3 is installed.

>>> from tkinter import *
>>> tk = Tk(className='Idle3')
>>> top = Toplevel(tk, class_='Idle3')

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22133>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to