summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qml/mageiawelcome.py2
-rw-r--r--setup.py1
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()
diff --git a/setup.py b/setup.py
index c1b3cbd..3cbd7af 100644
--- a/setup.py
+++ b/setup.py
@@ -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')),