About: Fix the path for mintcommon's version.py
It changed in mintcommon v2
This commit is contained in:
parent
8988476df2
commit
cd43e2e9b9
@ -673,7 +673,7 @@ class MenuWin(object):
|
|||||||
about = Gtk.AboutDialog()
|
about = Gtk.AboutDialog()
|
||||||
about.set_name("mintMenu")
|
about.set_name("mintMenu")
|
||||||
import subprocess
|
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()
|
stdout=subprocess.PIPE).communicate()
|
||||||
about.set_version(stdout.strip())
|
about.set_version(stdout.strip())
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user