mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 09:48:50 +01:00
Warehouse
This commit is contained in:
parent
9062cc8e9b
commit
557cd04b64
@ -59,7 +59,6 @@ class RPCStack:
|
||||
|
||||
class LoadHousePage(Page):
|
||||
_FootMsg = ["Nav.","","","Back","Cancel"]
|
||||
_DownloaderTimer = -1
|
||||
_Value = 0
|
||||
_URL = None
|
||||
_ListFontObj = MyLangManager.TrFont("varela18")
|
||||
@ -188,7 +187,6 @@ class LoadHousePage(Page):
|
||||
|
||||
class ImageDownloadProcessPage(Page):
|
||||
_FootMsg = ["Nav.","","","Back",""]
|
||||
_DownloaderTimer = -1
|
||||
_Value = 0
|
||||
_URL = None
|
||||
_ListFontObj = MyLangManager.TrFont("varela13")
|
||||
@ -344,7 +342,9 @@ class Aria2DownloadProcessPage(Page):
|
||||
self._SizeLabel.Init("0/0Kb",MyLangManager.TrFont("varela12"))
|
||||
self._SizeLabel.SetColor( self._URLColor )
|
||||
|
||||
@property
|
||||
def GObjectUpdateProcessInterval(self):
|
||||
downloaded = 0
|
||||
if self._Screen.CurPage() == self and self._GID is not None:
|
||||
self._Value = config.RPC.tellStatus(self._GID)
|
||||
|
||||
@ -371,8 +371,7 @@ class Aria2DownloadProcessPage(Page):
|
||||
self._Screen.Draw()
|
||||
self._Screen.SwapAndShow()
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
def CheckDownload(self,aria2_gid):
|
||||
self._GID = aria2_gid
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user