Reduce startup spam
This commit is contained in:
parent
4a12c1f716
commit
276e72d9d6
@ -310,8 +310,8 @@ class ApplicationLauncher( easyButton ):
|
|||||||
self.startupFilePath = os.path.join( os.path.expanduser("~"), ".config", "autostart", basename )
|
self.startupFilePath = os.path.join( os.path.expanduser("~"), ".config", "autostart", basename )
|
||||||
if self.startupMonitorId:
|
if self.startupMonitorId:
|
||||||
filemonitor.removeMonitor( self.startupMonitorId )
|
filemonitor.removeMonitor( self.startupMonitorId )
|
||||||
self.startupMonitorId = filemonitor.addMonitor( self.startupFilePath, self.startupFileChanged )
|
if os.path.exists (self.startupFilePath):
|
||||||
#self.inStartup = os.path.exists( self.startupFilePath )
|
self.startupMonitorId = filemonitor.addMonitor( self.startupFilePath, self.startupFileChanged )
|
||||||
|
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
print e
|
print e
|
||||||
|
Loading…
Reference in New Issue
Block a user