From b1849f6195ac463a8372c9619c3d4f0475eb5edc Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Tue, 21 May 2013 10:39:22 +0100 Subject: [PATCH] Fixed mintmenu reset (use gsettings instead of mateconf) --- usr/bin/mintmenu | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/usr/bin/mintmenu b/usr/bin/mintmenu index 2f72a9c..e2f90c2 100755 --- a/usr/bin/mintmenu +++ b/usr/bin/mintmenu @@ -4,9 +4,11 @@ import sys, os if len(sys.argv) > 1: if (sys.argv[1] in ["clean", "clear", "reset", "--clean", "--clear", "--reset"]): - os.system("mateconftool-2 --recursive-unset /apps/mintMenu") - os.system("rm -rf ~/.linuxmint/mintMenu") - os.system("mateconftool-2 --recursive-unset /apps/mintMenu") + os.system("gsettings reset-recursively com.linuxmint.mintmenu") + os.system("gsettings reset-recursively com.linuxmint.mintmenu.plugins.places") + os.system("gsettings reset-recursively com.linuxmint.mintmenu.plugins.applications") + os.system("gsettings reset-recursively com.linuxmint.mintmenu.plugins.recent") + os.system("gsettings reset-recursively com.linuxmint.mintmenu.plugins.system_management") os.system("rm -rf ~/.linuxmint/mintMenu") print "All mintMenu settings are now restored to default" else: