shared-mime-info says that .py files are application/x-python. However,
gnome-icon-theme and Python itself use text/x-python.
Don't want to change this so close to the GNOME release. I'll try to figure out
what the right thing to do is later.
Created attachment 418 [details]
A python mime type proposition
Here is the definition of text/x-python and application/x-python I'm using.
I think it may help you fix this bug.
I changed application/x-python to text/x-python in CVS.