Browse Source

Add 48x48 icon

doc-issue-template
MrS0m30n3 10 years ago
parent
commit
a811c05fb6
3 changed files with 2 additions and 2 deletions
  1. 2
      setup.py
  2. BIN
      youtube_dl_gui/icons/youtube-dl-gui_48x48.png
  3. 2
      youtube_dl_gui/utils.py

2
setup.py

@ -25,7 +25,7 @@ from youtube_dl_gui import (
__descriptionfull__
)
ICONS_SIZE = ('16x16', '32x32', '64x64', '128x128', '256x256')
ICONS_SIZE = ('16x16', '32x32', '48x48', '64x64', '128x128', '256x256')
ICONS_NAME = 'youtube_dl_gui/icons/youtube-dl-gui_%s.png'
ICONS_LIST = [ICONS_NAME % size for size in ICONS_SIZE]

BIN
youtube_dl_gui/icons/youtube-dl-gui_48x48.png

Before After
Width: 48  |  Height: 48  |  Size: 2.5 KiB

2
youtube_dl_gui/utils.py

@ -124,7 +124,7 @@ def get_icon_path():
''' Return path to the icon file if exist else return None.
Search __main__ dir, $XDG_DATA_DIRS, /usr/share/pixmaps in that order. '''
SIZES = ('256x256', '128x128', '64x64', '32x32', '16x16')
SIZES = ('256x256', '128x128', '64x64', '48x48', '32x32', '16x16')
ICON_NAME = 'youtube-dl-gui_%s.png'
ICONS_LIST = [ICON_NAME % size for size in SIZES]

Loading…
Cancel
Save