diff options
author | Marek Siarkowicz <mareksiarkowicz@gmail.com> | 2015-06-14 13:46:02 +0200 |
---|---|---|
committer | Marek Siarkowicz <mareksiarkowicz@gmail.com> | 2015-06-14 13:46:02 +0200 |
commit | ac763c2f9e34cdb8e8cc24f96941459f3944011c (patch) | |
tree | 42a7af13b44c16c41fe2e1998009885453fd555b | |
parent | 43b6d6b941e57f9b073cc6c80ac7d840c3aaad21 (diff) | |
download | pyParrotZikTCP-ac763c2f9e34cdb8e8cc24f96941459f3944011c.tar.xz pyParrotZikTCP-ac763c2f9e34cdb8e8cc24f96941459f3944011c.zip |
Refactor.
-rwxr-xr-x | ParrotZikTray | 20 |
1 files changed, 10 insertions, 10 deletions
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) |