Removed calls to matefvs

This commit is contained in:
Clement Lefebvre 2013-03-01 16:23:34 +00:00
parent 64ced31d5d
commit e09333794a
2 changed files with 0 additions and 20 deletions

View File

@ -9,7 +9,6 @@ try:
import commands import commands
import mateapplet import mateapplet
import gettext import gettext
import matevfs
import traceback import traceback
import time import time
import gc import gc

View File

@ -6,7 +6,6 @@ import matedesktop
import gobject import gobject
import os.path import os.path
import shutil import shutil
import matevfs
import re import re
from execute import * from execute import *
import xdg.DesktopEntry import xdg.DesktopEntry
@ -422,24 +421,6 @@ class ApplicationLauncher( easyButton ):
#return self.inStartup #return self.inStartup
return os.path.exists( self.startupFilePath ) 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 ): def onDestroy( self, widget ):
easyButton.onDestroy( self, widget ) easyButton.onDestroy( self, widget )
if self.startupMonitorId: if self.startupMonitorId: