Browse Source

installpanda: Enable start-up notifications for pview

See cf4fa526c94fc507db386a0da566f2a69aef6d41 for more information
rdb 3 years ago
parent
commit
40f4656165
2 changed files with 2 additions and 2 deletions
  1. 1 1
      makepanda/installpanda.py
  2. 1 1
      makepanda/pview.desktop

+ 1 - 1
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=")

+ 1 - 1
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