diff options
author | Marek Siarkowicz <mareksiarkowicz@gmail.com> | 2015-06-14 18:00:35 +0200 |
---|---|---|
committer | Marek Siarkowicz <mareksiarkowicz@gmail.com> | 2015-06-14 18:00:35 +0200 |
commit | e3d2cb770e6e03513b6bf6ece70202c065279950 (patch) | |
tree | bebb0cbe6b04bb94a281212e56ecc9102f34ebaa /ParrotZikTray | |
parent | 1bf1b662ee8ed729a67c9bf07d1b184691a86785 (diff) | |
download | pyParrotZikTCP-e3d2cb770e6e03513b6bf6ece70202c065279950.tar.xz pyParrotZikTCP-e3d2cb770e6e03513b6bf6ece70202c065279950.zip |
Show interface after data fetch.
Diffstat (limited to 'ParrotZikTray')
-rwxr-xr-x | ParrotZikTray | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ParrotZikTray b/ParrotZikTray index 44a02d1..52b8d12 100755 --- a/ParrotZikTray +++ b/ParrotZikTray @@ -120,19 +120,17 @@ class ParrotZikBaseInterface(object): def activate(self, parrot): self.parrot = parrot - self.battery_level.show() - self.battery_state.show() - self.firmware_version.show() - self.auto_connection.show() - self.read_battery() self.indicator.info_item.set_label("Connected to: " + self.parrot.friendly_name) self.firmware_version.set_label( "Firmware version: " + self.parrot.version) - self.auto_connection.set_active(self.parrot.auto_connect) + self.battery_level.show() + self.battery_state.show() + self.firmware_version.show() + self.auto_connection.show() self.indicator.active_interface = self self.indicator.menu.reposition() |