From a000ed1a2a2ce99f230b4aec46f93fe546cf763b Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Tue, 15 Dec 2009 11:28:28 +0000 Subject: [PATCH] Fixed execute problems with su-to-root --- debian/changelog | 6 ++++++ usr/lib/linuxmint/mintMenu/plugins/execute.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 24a3ad2..c8b7bfc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +mintmenu (4.9.3) helena; urgency=low + + * Fixed: https://bugs.launchpad.net/linuxmint/+bug/496730 + + -- Clement Lefebvre Tue, 15 Dec 2009 11:27:00 +0000 + mintmenu (4.9.2) helena; urgency=low * Fixed: https://bugs.launchpad.net/mintmenu/+bug/490174 diff --git a/usr/lib/linuxmint/mintMenu/plugins/execute.py b/usr/lib/linuxmint/mintMenu/plugins/execute.py index 0c1163a..34f9699 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/execute.py +++ b/usr/lib/linuxmint/mintMenu/plugins/execute.py @@ -16,7 +16,7 @@ def RemoveArgs(Execline): # Actually execute the command def Execute( cmd ): if isinstance( cmd, str ): - if (cmd.find("/home/") >= 0): + if (cmd.find("/home/") >= 0) or (cmd.find("su-to-root") >= 0) : print "running manually..." os.system(cmd + " &") return True