diff options
author | Papoteur <papoteur@mageia.org> | 2019-02-05 19:51:15 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2019-02-05 19:51:15 +0100 |
commit | ded803fcfa2f09716ee32fd215dcaac4466c8158 (patch) | |
tree | f70a69172b45a995e09c8f918a6c190decc292f3 | |
parent | 39da9160e12dc30ad1c37efa5d7d84977bb7b146 (diff) | |
download | mageiawelcome-ded803fcfa2f09716ee32fd215dcaac4466c8158.tar mageiawelcome-ded803fcfa2f09716ee32fd215dcaac4466c8158.tar.gz mageiawelcome-ded803fcfa2f09716ee32fd215dcaac4466c8158.tar.bz2 mageiawelcome-ded803fcfa2f09716ee32fd215dcaac4466c8158.tar.xz mageiawelcome-ded803fcfa2f09716ee32fd215dcaac4466c8158.zip |
Install application icon
-rw-r--r-- | qml/mageiawelcome.py | 2 | ||||
-rw-r--r-- | setup.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/qml/mageiawelcome.py b/qml/mageiawelcome.py index 3931e99..f19a49f 100644 --- a/qml/mageiawelcome.py +++ b/qml/mageiawelcome.py @@ -164,7 +164,7 @@ if __name__ == '__main__': view = QQuickView() view.setResizeMode(QQuickView.SizeRootObjectToView) view.setTitle(app.translate('app',"Welcome to Mageia")) - app.setWindowIcon(QIcon("icons/32x32/apps/mageiawelcome.png")) + app.setWindowIcon(QIcon("/usr/share/mageiawelcome/icons/32x32/apps/mageiawelcome.png")) screen = app.primaryScreen() defaultHeight = 700 * screen.devicePixelRatio() defaultWidth = 1000 * screen.devicePixelRatio() @@ -15,6 +15,7 @@ class BuildQm(build): data_files = [("bin",["usr/bin/mageiawelcome","usr/bin/mageiawelcome-launcher"]), ("share/applications/", ["usr/share/applications/mageiawelcome.desktop"]), + ("share/icons/32x32/apps/", ["qml/icons/32x32/apps/mageiawelcome.png"]), ("share/icons/hicolor/scalable/apps/", ["qml/icons/scalable/apps/mageiawelcome.svg"]), ("share/mageiawelcome/",glob.glob('qml/*.py')), ("share/mageiawelcome/",glob.glob('qml/*.qml')), |