aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Siarkowicz <mareksiarkowicz@gmail.com>2015-06-14 13:46:02 +0200
committerMarek Siarkowicz <mareksiarkowicz@gmail.com>2015-06-14 13:46:02 +0200
commitac763c2f9e34cdb8e8cc24f96941459f3944011c (patch)
tree42a7af13b44c16c41fe2e1998009885453fd555b
parent43b6d6b941e57f9b073cc6c80ac7d840c3aaad21 (diff)
downloadpyParrotZikTCP-ac763c2f9e34cdb8e8cc24f96941459f3944011c.tar.xz
pyParrotZikTCP-ac763c2f9e34cdb8e8cc24f96941459f3944011c.zip
Refactor.
-rwxr-xr-xParrotZikTray20
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)