Skip to content

Commit

Permalink
Add app.setDesktopFileName(PROCESS) for more compatible with gnome wa…
Browse files Browse the repository at this point in the history
…yland
  • Loading branch information
bigbruno committed May 25, 2024
1 parent 340f82c commit 2dd7b77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions bigbashview/usr/lib/bbv/globaldata.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
ICON = os.sep.join((PROGDIR, "img", "bigbashview.svg"))
LOGO = os.sep.join((PROGDIR, "img", "bigbashview.svg"))
TITLE = None
PROCESS = 'BigBashView'
ROOT_FILE = False
ADDRESS = '127.0.0.1'
PORT = 19000
4 changes: 3 additions & 1 deletion bigbashview/usr/lib/bbv/ui/qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
from PySide6.QtWebEngineCore import QWebEnginePage, QWebEngineDownloadRequest
from PySide6.QtWebChannel import QWebChannel

from bbv.globaldata import ICON, TITLE
from bbv.globaldata import ICON, TITLE, PROCESS

# Import gettext module for translations
import gettext
Expand Down Expand Up @@ -116,6 +116,8 @@ def __init__(self):

# Set window icon and title
self.setWindowIcon(QIcon(ICON))
self.app.setDesktopFileName(PROCESS)

if TITLE:
self.app.setApplicationName(TITLE)
self.setWindowTitle(TITLE)
Expand Down

0 comments on commit 2dd7b77

Please sign in to comment.