Include module for desktop build

This commit is contained in:
Ruud
2012-09-09 17:29:09 +02:00
parent 89426d75ab
commit 36f653f65b
88 changed files with 9967 additions and 1 deletions
+1
View File
@@ -25,6 +25,7 @@ if Env.get('desktop'):
# Events to desktop
addEvent('app.after_shutdown', desktop.afterShutdown)
addEvent('app.load', desktop.onAppLoad, priority = 110)
def onClose(self, event):
return fireEvent('app.shutdown', single = True)
+1 -1
View File
@@ -29,7 +29,7 @@ class Downloader(Plugin):
pass
def getDownloadStatus(self, data = {}, movie = {}):
pass
return False
def createNzbName(self, data, movie):
tag = self.cpTag(movie)
+1
View File
@@ -192,6 +192,7 @@ class Plugin(object):
def doShutdown(self):
self.shuttingDown(True)
return True
def shuttingDown(self, value = None):
if value is None: