About: Fix the path for mintcommon's version.py

It changed in mintcommon v2
This commit is contained in:
Clement Lefebvre 2019-02-27 14:31:08 +00:00
parent 8988476df2
commit cd43e2e9b9

View File

@ -673,7 +673,7 @@ class MenuWin(object):
about = Gtk.AboutDialog()
about.set_name("mintMenu")
import subprocess
(stdout, stderr) = subprocess.Popen(["/usr/lib/linuxmint/common/version.py", "mintmenu"],
(stdout, stderr) = subprocess.Popen(["/usr/lib/python3/dist-packages/mintcommon/version.py", "mintmenu"],
stdout=subprocess.PIPE).communicate()
about.set_version(stdout.strip())
try: