aboutsummaryrefslogtreecommitdiff
path: root/ParrotZikTray
diff options
context:
space:
mode:
authorMarek Siarkowicz <mareksiarkowicz@gmail.com>2015-06-12 15:15:44 +0200
committerMarek Siarkowicz <mareksiarkowicz@gmail.com>2015-06-12 15:15:44 +0200
commit0d692102cd94f70e78cf036cb9f64c485ea8b6a5 (patch)
tree5099b8f97849d7d28cba74c6cac1d7eb2d139887 /ParrotZikTray
parentcac2d834faa85153fba2fca3c7faa1de34183b4d (diff)
downloadpyParrotZikTCP-0d692102cd94f70e78cf036cb9f64c485ea8b6a5.tar.xz
pyParrotZikTCP-0d692102cd94f70e78cf036cb9f64c485ea8b6a5.zip
Add Zik 2.0 compatibility.
Diffstat (limited to '')
-rwxr-xr-xParrotZikTray4
1 files changed, 2 insertions, 2 deletions
diff --git a/ParrotZikTray b/ParrotZikTray
index 193f8d1..1f934ea 100755
--- a/ParrotZikTray
+++ b/ParrotZikTray
@@ -107,9 +107,9 @@ class ParrotZikIndicator(SysIndicator):
def toggleANC(self, widget):
if self.connected:
if self.check.get_active():
- self.parrot.setNoiseCancel("true")
+ self.parrot.noise_cancel = "true"
else:
- self.parrot.setNoiseCancel("false")
+ self.parrot.noise_cancel = "false"
def toggleAuto(self, widget):
if self.connected: