Removed calls to matefvs
This commit is contained in:
parent
64ced31d5d
commit
e09333794a
@ -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
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user