7601: Support for Retina Display / HiDPI
GTK_ICON_SIZE_LARGE_TOOLBAR Size appropriate for large toolbars (24px)
This commit is contained in:
parent
42492ae193
commit
c12562561b
2
setup.py
2
setup.py
@ -449,11 +449,13 @@ IMAGE_FILES = glob.glob(os.path.join('images', '*.*'))
|
|||||||
THEME = os.path.join('images', 'hicolor')
|
THEME = os.path.join('images', 'hicolor')
|
||||||
ICON_16 = glob.glob(os.path.join(THEME, '16x16', 'actions', '*.png'))
|
ICON_16 = glob.glob(os.path.join(THEME, '16x16', 'actions', '*.png'))
|
||||||
ICON_22 = glob.glob(os.path.join(THEME, '22x22', 'actions', '*.png'))
|
ICON_22 = glob.glob(os.path.join(THEME, '22x22', 'actions', '*.png'))
|
||||||
|
ICON_24 = glob.glob(os.path.join(THEME, '24x24', 'actions', '*.png'))
|
||||||
ICON_48 = glob.glob(os.path.join(THEME, '48x48', 'actions', '*.png'))
|
ICON_48 = glob.glob(os.path.join(THEME, '48x48', 'actions', '*.png'))
|
||||||
ICON_SC = glob.glob(os.path.join(THEME, 'scalable', 'actions', '*.svg'))
|
ICON_SC = glob.glob(os.path.join(THEME, 'scalable', 'actions', '*.svg'))
|
||||||
data_files_gui.append(('share/gramps/images', IMAGE_FILES))
|
data_files_gui.append(('share/gramps/images', IMAGE_FILES))
|
||||||
data_files_gui.append(('share/gramps/images/hicolor/16x16/actions', ICON_16))
|
data_files_gui.append(('share/gramps/images/hicolor/16x16/actions', ICON_16))
|
||||||
data_files_gui.append(('share/gramps/images/hicolor/22x22/actions', ICON_22))
|
data_files_gui.append(('share/gramps/images/hicolor/22x22/actions', ICON_22))
|
||||||
|
data_files_gui.append(('share/gramps/images/hicolor/24x24/actions', ICON_24))
|
||||||
data_files_gui.append(('share/gramps/images/hicolor/48x48/actions', ICON_48))
|
data_files_gui.append(('share/gramps/images/hicolor/48x48/actions', ICON_48))
|
||||||
data_files_gui.append(('share/gramps/images/hicolor/scalable/actions', ICON_SC))
|
data_files_gui.append(('share/gramps/images/hicolor/scalable/actions', ICON_SC))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user