From e09333794ac7edaa4eed15ea72030bd5f47375ae Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Fri, 1 Mar 2013 16:23:34 +0000 Subject: [PATCH] Removed calls to matefvs --- usr/lib/linuxmint/mintMenu/mintMenu.py | 1 - .../linuxmint/mintMenu/plugins/easybuttons.py | 19 ------------------- 2 files changed, 20 deletions(-) diff --git a/usr/lib/linuxmint/mintMenu/mintMenu.py b/usr/lib/linuxmint/mintMenu/mintMenu.py index 7751bbd..930ceeb 100755 --- a/usr/lib/linuxmint/mintMenu/mintMenu.py +++ b/usr/lib/linuxmint/mintMenu/mintMenu.py @@ -9,7 +9,6 @@ try: import commands import mateapplet import gettext - import matevfs import traceback import time import gc diff --git a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py index f5b00ac..e471157 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py +++ b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py @@ -6,7 +6,6 @@ import matedesktop import gobject import os.path import shutil -import matevfs import re from execute import * import xdg.DesktopEntry @@ -422,24 +421,6 @@ class ApplicationLauncher( easyButton ): #return self.inStartup return os.path.exists( self.startupFilePath ) - def hasHelp( self ): - return self.appGnomeDocPath or self.appKdeDocPath - - def launchHelp( self ): - if self.appGnomeDocPath: - bn = os.path.basename( self.appGnomeDocPath ) - dn = os.path.dirname( self.appGnomeDocPath ) - if self.appGnomeDocPath[0:6] != "ghelp:": - self.appGnomeDocPath = "ghelp:" + self.appGnomeDocPath - matevfs.url_show( self.appGnomeDocPath ) - elif self.appKdeDocPath: - if self.appKdeDocPath[0:6] != "help:/" and self.appKdeDocPath[0:6] != "file:/": - self.appKdeDocPath = "help:/" + self.appKdeDocPath - if self.appKdeDocPath[0:6] == "file:/": - matevfs.url_show( self.appKdeDocPath ) - else: - Execute( [ "khelpcenter", self.appKdeDocPath ] ) - def onDestroy( self, widget ): easyButton.onDestroy( self, widget ) if self.startupMonitorId: