From 40f46561657e8dc0160c76199403c8b7791745a3 Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 1 Dec 2022 15:49:42 +0100 Subject: [PATCH] installpanda: Enable start-up notifications for pview See cf4fa526c94fc507db386a0da566f2a69aef6d41 for more information --- makepanda/installpanda.py | 2 +- makepanda/pview.desktop | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/makepanda/installpanda.py b/makepanda/installpanda.py index a059e772db..020dda54c6 100644 --- a/makepanda/installpanda.py +++ b/makepanda/installpanda.py @@ -41,7 +41,7 @@ def WriteApplicationsFile(fname, appinfo, mimeinfo, bindir): fhandle.write("\tcommand=%s\n" % (app)) fhandle.write("\tname=%s\n" % (desc)) fhandle.write("\tcan_open_multiple_files=%s\n" % ('true' if multiple else 'false')) - fhandle.write("\tstartup_notify=%s\n" % ('true' if app == 'pstats' else 'false')) + fhandle.write("\tstartup_notify=true\n") fhandle.write("\texpects_uris=false\n") fhandle.write("\trequires_terminal=false\n") fhandle.write("\tmime_types=") diff --git a/makepanda/pview.desktop b/makepanda/pview.desktop index 0dc428d20e..df3d17c059 100644 --- a/makepanda/pview.desktop +++ b/makepanda/pview.desktop @@ -4,7 +4,7 @@ GenericName=Model Viewer Comment=View Panda3D model files TryExec=pview Exec=pview %F -StartupNotify=false +StartupNotify=true NoDisplay=true Terminal=false Type=Application