From ac763c2f9e34cdb8e8cc24f96941459f3944011c Mon Sep 17 00:00:00 2001 From: Marek Siarkowicz Date: Sun, 14 Jun 2015 13:46:02 +0200 Subject: Refactor. --- ParrotZikTray | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'ParrotZikTray') diff --git a/ParrotZikTray b/ParrotZikTray index 6636a9e..e30631f 100755 --- a/ParrotZikTray +++ b/ParrotZikTray @@ -243,16 +243,16 @@ class ParrotZikVersion2Interface(ParrotZikBaseInterface): self.noise_cancelation_submenu = Menu() self.noise_cancelation.set_submenu(self.noise_cancelation_submenu) - self.noise_cancelation_enabled = MenuItem("Enabled", self.toggle_noise_cancelation, - checkitem=True) - self.noise_cancelation_mode0 = MenuItem("Mode0", self.toggledummy, - checkitem=True) - self.noise_cancelation_mode1 = MenuItem("Mode1", self.toggledummy, - checkitem=True) - self.noise_cancelation_mode2 = MenuItem("Mode2", self.toggledummy, - checkitem=True) - self.noise_cancelation_mode3 = MenuItem("Mode3", self.toggledummy, - checkitem=True) + self.noise_cancelation_enabled = MenuItem( + "Enabled", self.toggle_noise_cancelation, checkitem=True) + self.noise_cancelation_mode0 = MenuItem( + "Mode0", self.toggledummy, checkitem=True) + self.noise_cancelation_mode1 = MenuItem( + "Mode1", self.toggledummy, checkitem=True) + self.noise_cancelation_mode2 = MenuItem( + "Mode2", self.toggledummy, checkitem=True) + self.noise_cancelation_mode3 = MenuItem( + "Mode3", self.toggledummy, checkitem=True) self.noise_cancelation_submenu.append(self.noise_cancelation_enabled) self.noise_cancelation_submenu.append(self.noise_cancelation_mode0) self.noise_cancelation_submenu.append(self.noise_cancelation_mode1) -- cgit v1.2.1