dist: rename light icons and install them in correct place
|
@ -101,7 +101,7 @@ def _battery_icon_name(level, charging):
|
|||
def lux(level=None):
|
||||
if level is None or level < 0:
|
||||
return 'light_unknown'
|
||||
return 'light_%03d' % (20 * ((level + 50) // 100))
|
||||
return 'solaar-light_%03d' % (20 * ((level + 50) // 100))
|
||||
|
||||
|
||||
#
|
||||
|
|
2
setup.py
|
@ -32,7 +32,7 @@ def _data_files():
|
|||
from os.path import dirname as _dirname
|
||||
|
||||
yield 'share/icons/hicolor/scalable/apps', _glob('share/solaar/icons/solaar*.svg')
|
||||
yield 'share/icons/hicolor/scalable/apps', _glob('share/solaar/icons/light_*.png')
|
||||
yield 'share/icons/hicolor/32x32/apps', _glob('share/solaar/icons/light_*.png')
|
||||
|
||||
for mo in _glob('share/locale/*/LC_MESSAGES/solaar.mo'):
|
||||
yield _dirname(mo), [mo]
|
||||
|
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1007 B After Width: | Height: | Size: 1007 B |