From 2373274304c58f79451fda735a028265113e3d58 Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Tue, 2 May 2017 13:07:29 +0100 Subject: [PATCH] Fix launching apps which use su-to-root This was removed by mistake during the port to GTK3. --- usr/lib/linuxmint/mintMenu/plugins/execute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/linuxmint/mintMenu/plugins/execute.py b/usr/lib/linuxmint/mintMenu/plugins/execute.py index 67d9d5c..9e1f0e9 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/execute.py +++ b/usr/lib/linuxmint/mintMenu/plugins/execute.py @@ -23,7 +23,7 @@ def Execute( cmd , commandCwd=None): cwd = tmpCwd if isinstance( cmd, str ) or isinstance( cmd, unicode): - if (cmd.find("ubiquity") >= 0) or (cmd.find("/home/") >= 0) or (cmd.find("xdg-su") >= 0) or (cmd.find("\"") >= 0): + if (cmd.find("ubiquity") >= 0) or (cmd.find("/home/") >= 0) or (cmd.find("su-to-root") >= 0) or (cmd.find("xdg-su") >= 0) or (cmd.find("\"") >= 0): print "running manually..." try: os.chdir(cwd)