From e3d2cb770e6e03513b6bf6ece70202c065279950 Mon Sep 17 00:00:00 2001 From: Marek Siarkowicz Date: Sun, 14 Jun 2015 18:00:35 +0200 Subject: Show interface after data fetch. --- ParrotZikTray | 10 ++++------ 1 file 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() -- cgit v1.2.1