summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2020-04-24 17:30:54 +0200
committerDave Andreoli <dave@gurumeditation.it>2020-04-24 17:30:54 +0200
commit443bf2efbf8409e8716258ae8578b7b8ccb8bc06 (patch)
tree7514d5686348af11a930aa90cc8a3ba3b6a60e21
parent146d656a1ed56b0127c550925b636ccd4f181c1a (diff)
Audio: do not show the indicator in sliders
This wasn't visible in the paste, something is changed in efl...
-rw-r--r--.gitignore1
-rw-r--r--gadgets/audio/__init__.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 567609b..a83bb87 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
1build/ 1build/
2.idea/
diff --git a/gadgets/audio/__init__.py b/gadgets/audio/__init__.py
index ca65905..ca034c5 100644
--- a/gadgets/audio/__init__.py
+++ b/gadgets/audio/__init__.py
@@ -201,7 +201,8 @@ class Gadget(e.Gadget):
201 201
202 def popup_volume_add(self, popup, channel): 202 def popup_volume_add(self, popup, channel):
203 sl = elm.Slider(popup, text=channel.name, min_max=(0, 65500), 203 sl = elm.Slider(popup, text=channel.name, min_max=(0, 65500),
204 span_size=150, size_hint_expand=EXPAND_HORIZ, 204 span_size=150, indicator_show=False,
205 size_hint_expand=EXPAND_HORIZ,
205 size_hint_fill=FILL_HORIZ) 206 size_hint_fill=FILL_HORIZ)
206 sl.value = channel.volume 207 sl.value = channel.volume
207 sl.disabled = True if channel.muted else False 208 sl.disabled = True if channel.muted else False