From 02abf32236ebf3322f2412c061bac6a07b5b8274 Mon Sep 17 00:00:00 2001 From: igo95862 Date: Sat, 1 Jun 2024 11:23:01 +0500 Subject: [PATCH] Set desktop entry name for the Qt GUI This will make the GUI program show the correct icon in the desktop environment. --- src/bubblejail/bubblejail_gui_qt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bubblejail/bubblejail_gui_qt.py b/src/bubblejail/bubblejail_gui_qt.py index 2023456..e1cd8e8 100644 --- a/src/bubblejail/bubblejail_gui_qt.py +++ b/src/bubblejail/bubblejail_gui_qt.py @@ -669,6 +669,7 @@ def __init__(self, parent: BubblejailConfigApp): class BubblejailConfigApp: def __init__(self) -> None: self.q_app = QApplication(argv) + self.q_app.setDesktopFileName("bubblejail-config") self.window = QMainWindow() self.window.resize(600, 400) self.switch_to_selector()