Merge pull request #99 from cuu/master

cleanup re-order mess
This commit is contained in:
GNU 2018-08-22 14:20:17 +08:00 committed by GitHub
commit 029e89737c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,8 +57,9 @@ class TitleBar:
if self._InLowBackLight < 0:
self.CheckBatteryStat()
self.SyncSoundVolume()
self.UpdateWifiStrength()
self.CheckBluetooth()
self.UpdateWifiStrength()
SwapAndShow()
# print("TitleBar Gobjectroundrobin")
elif self._InLowBackLight >= 0:
@ -66,8 +67,9 @@ class TitleBar:
if self._InLowBackLight > 10:
self.CheckBatteryStat()
self.SyncSoundVolume()
self.UpdateWifiStrength()
self.CheckBluetooth()
self.UpdateWifiStrength()
self._InLowBackLight = 0
return True