summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2018-12-27 18:29:11 +0100
committerPapoteur <papoteur@mageia.org>2018-12-28 08:44:48 +0100
commite51ce3dd70fedc4f37beb77955f72e7d1041118c (patch)
treebd3669135d986f416cc44cb1500f1bfa8f1292b8
parentd0fe5db6b665fcb79b6bde09e1363906fed1f0a1 (diff)
downloadmageiawelcome-e51ce3dd70fedc4f37beb77955f72e7d1041118c.tar
mageiawelcome-e51ce3dd70fedc4f37beb77955f72e7d1041118c.tar.gz
mageiawelcome-e51ce3dd70fedc4f37beb77955f72e7d1041118c.tar.bz2
mageiawelcome-e51ce3dd70fedc4f37beb77955f72e7d1041118c.tar.xz
mageiawelcome-e51ce3dd70fedc4f37beb77955f72e7d1041118c.zip
Add application icon
-rw-r--r--qml/icons/16x16/apps/mageiawelcome.png (renamed from usr/share/icons/16x16/apps/mageiawelcome.png)bin625 -> 625 bytes
-rw-r--r--qml/icons/32x32/apps/mageiawelcome.png (renamed from usr/share/icons/32x32/apps/mageiawelcome.png)bin1327 -> 1327 bytes
-rw-r--r--qml/icons/48x48/apps/mageiawelcome.png (renamed from usr/share/icons/48x48/apps/mageiawelcome.png)bin2099 -> 2099 bytes
-rw-r--r--qml/icons/scalable/apps/mageiawelcome.svg (renamed from usr/share/icons/scalable/apps/mageiawelcome.svg)0
-rw-r--r--qml/mageiawelcome.py3
5 files changed, 2 insertions, 1 deletions
diff --git a/usr/share/icons/16x16/apps/mageiawelcome.png b/qml/icons/16x16/apps/mageiawelcome.png
index 1e37675..1e37675 100644
--- a/usr/share/icons/16x16/apps/mageiawelcome.png
+++ b/qml/icons/16x16/apps/mageiawelcome.png
Binary files differ
diff --git a/usr/share/icons/32x32/apps/mageiawelcome.png b/qml/icons/32x32/apps/mageiawelcome.png
index 5dabbca..5dabbca 100644
--- a/usr/share/icons/32x32/apps/mageiawelcome.png
+++ b/qml/icons/32x32/apps/mageiawelcome.png
Binary files differ
diff --git a/usr/share/icons/48x48/apps/mageiawelcome.png b/qml/icons/48x48/apps/mageiawelcome.png
index bb9df77..bb9df77 100644
--- a/usr/share/icons/48x48/apps/mageiawelcome.png
+++ b/qml/icons/48x48/apps/mageiawelcome.png
Binary files differ
diff --git a/usr/share/icons/scalable/apps/mageiawelcome.svg b/qml/icons/scalable/apps/mageiawelcome.svg
index 71ec37a..71ec37a 100644
--- a/usr/share/icons/scalable/apps/mageiawelcome.svg
+++ b/qml/icons/scalable/apps/mageiawelcome.svg
diff --git a/qml/mageiawelcome.py b/qml/mageiawelcome.py
index 132922f..8439ff7 100644
--- a/qml/mageiawelcome.py
+++ b/qml/mageiawelcome.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
-from PyQt5.QtGui import QGuiApplication
+from PyQt5.QtGui import QGuiApplication, QIcon
from PyQt5.QtQuick import QQuickView
from PyQt5.QtCore import QUrl, QLocale, QTranslator, QLibraryInfo, QVariant, QAbstractListModel, \
QModelIndex, Qt, QObject, pyqtSlot
@@ -147,6 +147,7 @@ if __name__ == '__main__':
view = QQuickView()
view.setResizeMode(QQuickView.SizeRootObjectToView)
view.setTitle(app.tr("Welcome to Mageia"))
+ app.setWindowIcon(QIcon("icons/32x32/apps/mageiawelcome.png"))
cb = Callbrowser()
la = Launcher()
us = username()