From 429ca5bed1b8f377acf2062e6e53830a4fb8ada4 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Tue, 6 Aug 2024 16:34:45 +0200 Subject: [PATCH] mambabase.py: set desktop file name to fix taskbar icon with wayland --- mambabase/mambabase.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mambabase/mambabase.py b/mambabase/mambabase.py index 4376760..1964e34 100755 --- a/mambabase/mambabase.py +++ b/mambabase/mambabase.py @@ -2,14 +2,13 @@ # Copyright (c) 2019-2024 by Silvan Calarco # Release under the terms of the GPL version 3 license -from PyQt6 import QtGui, QtCore, QtWidgets, uic -from PyQt6.QtCore import pyqtProperty -from PyQt6.QtCore import QLocale, QTranslator -from pathlib import Path -import gettext -import subprocess import os +import subprocess +import gettext +from pathlib import Path import distro +from PyQt6 import QtGui, QtCore, QtWidgets, uic +from PyQt6.QtCore import QLocale, QTranslator import gi gi.require_version('PackageKitGlib', '1.0') @@ -376,6 +375,7 @@ class InstallationPage(QtWidgets.QWizardPage): if __name__ == '__main__': import sys app = QtWidgets.QApplication(sys.argv) + app.setDesktopFileName("mambabase") app.setWindowIcon(QtGui.QIcon.fromTheme("mambabase")) # UI translations locale = QLocale.system().name()