Skip to content

Commit 713efc6

Browse files
committed
setup.py: Fixed image location.
1 parent 2efc7a2 commit 713efc6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ def get_version():
2626
packages=find_packages(),
2727
include_package_data=True,
2828
data_files=[
29-
('share/icons/hicolor/scalable/apps', ['images/sunflower.svg']),
30-
('share/pixmaps/sunflower', ['images/splash.png']),
29+
('share/images', ['images/sunflower.svg']),
30+
('share/images', ['images/splash.png']),
3131
('share/applications', ['Sunflower.desktop'])
3232
],
3333
entry_points={'console_scripts': ['sunflower = sunflower.__main__:main']}

sunflower/icons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ def get_mount_icon_name(self, icons):
116116

117117
def set_window_icon(self, window):
118118
"""Set window icon"""
119+
# check system for icon
119120
if self.has_icon('sunflower'):
120-
# in case theme has its own icon, use that one
121121
window.set_icon(self._icon_theme.load_icon('sunflower', 256, 0))
122122

123123
else:

0 commit comments

Comments
 (0)