Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 313201 - Python 2 and 3: Add idle menu entry
Summary: Python 2 and 3: Add idle menu entry
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-05 10:11 UTC by Sander Sweers
Modified: 2012-02-16 14:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Python 2.6 patch (python-2.6-idle-desktop.patch,460 bytes, patch)
2010-04-05 10:12 UTC, Sander Sweers
Details | Diff
Python 3.1 patch (python-3.1-idle-desktop.patch,482 bytes, patch)
2010-04-05 10:13 UTC, Sander Sweers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sander Sweers 2010-04-05 10:11:52 UTC
The following patches add the creation of a .desktop file for idle under development.
Comment 1 Sander Sweers 2010-04-05 10:12:40 UTC
Created attachment 226615 [details, diff]
Python 2.6 patch
Comment 2 Sander Sweers 2010-04-05 10:13:14 UTC
Created attachment 226617 [details, diff]
Python 3.1 patch
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-04-05 10:17:51 UTC
Only .xpm, .svg and .png are legal icons in desktop entry, sorry.

http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html

´The image files must be one of the types: PNG, XPM, or SVG, and the extension must be ".png", ".xpm", or ".svg" (lower case). The support for SVG files is optional. Implemenations that does not support SVGs should just ignore any ".svg" files. In addition to this there may be an additional file with extra icon-data for each file. It should have the same basename as the image file, with the extension ".icon". e.g. if the icon file is called "mime_source_c.png" the corresponding file would be named "mime_source_c.icon".´
Comment 4 Sander Sweers 2010-04-05 14:53:59 UTC
(In reply to comment #3)
> Only .xpm, .svg and .png are legal icons in desktop entry, sorry.

Hmm, I can pull a gpl python logo in svg from somewhere. But how is this best handled? We will have collision if if we store it with a general name (python-logo.svg) and in a general place (/usr/share/pixmaps).
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-01-18 14:24:39 UTC
Could you report enhancement request to upstream?
http://bugs.python.org/
Comment 6 Dirkjan Ochtman (RETIRED) gentoo-dev 2012-02-16 14:03:54 UTC
Closing as UPSTREAM.