diff options
-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')), |