Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python icon hardcoded #65295

Closed
nathaneltitane mannequin opened this issue Mar 29, 2014 · 2 comments
Closed

Python icon hardcoded #65295

nathaneltitane mannequin opened this issue Mar 29, 2014 · 2 comments
Labels
topic-installation type-feature A feature request or enhancement

Comments

@nathaneltitane
Copy link
Mannequin

nathaneltitane mannequin commented Mar 29, 2014

BPO 21096
Nosy @ned-deily

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2014-03-29.19:32:34.770>
created_at = <Date 2014-03-29.18:37:37.590>
labels = ['type-feature', 'expert-installation']
title = 'Python icon hardcoded'
updated_at = <Date 2014-03-29.19:32:34.769>
user = 'https://bugs.python.org/nathaneltitane'

bugs.python.org fields:

activity = <Date 2014-03-29.19:32:34.769>
actor = 'ned.deily'
assignee = 'none'
closed = True
closed_date = <Date 2014-03-29.19:32:34.770>
closer = 'ned.deily'
components = ['Installation']
creation = <Date 2014-03-29.18:37:37.590>
creator = 'nathanel.titane'
dependencies = []
files = []
hgrepos = []
issue_num = 21096
keywords = []
message_count = 2.0
messages = ['215137', '215139']
nosy_count = 2.0
nosy_names = ['ned.deily', 'nathanel.titane']
pr_nums = []
priority = 'normal'
resolution = 'third party'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue21096'
versions = ['Python 3.1', 'Python 2.7', 'Python 3.2', 'Python 3.3', 'Python 3.4', 'Python 3.5']

@nathaneltitane
Copy link
Mannequin Author

nathaneltitane mannequin commented Mar 29, 2014

The python icon path in each of the respective launchers for the 2.x and 3.x series seem to be hardcoded to an absolute path rather than designating the relative /usr/share/icons/... directory on the 'Icon=' line within the desktop launcher file located within usr/share/applications/

Arguments:

Trivial bug yet very important to prevent inexperienced user root access and modification of system files

Needed to prevent system-wide icon theme 'breakage' from non standard 'Icon=' path that should normally refer to /usr/share/icons/ when using third party themes (ex: Faenza, Numix, etc.)

---

Before:

Icon=/usr/share/pixmaps/python2.7.xpm

Icon=/usr/share/pixmaps/python3.3.xpm

Icon=/usr/share/pixmaps/python3.4.xpm

After:

Icon=python

@nathaneltitane nathaneltitane mannequin added topic-installation type-feature A feature request or enhancement labels Mar 29, 2014
@ned-deily
Copy link
Member

You don't say what platform you are using but, from the paths, I assume one of the Linux distributions. The files you are talking about are not part of the Python source but most likely added by whatever distribution you are using. I suggest you open an issue on its bug tracker.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-installation type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant