mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
hide unneeded labels in SeekBar
This commit is contained in:
parent
82ad11472c
commit
bf32ef7a29
@ -3086,8 +3086,8 @@ class SeekBar(Gtk.Box):
|
||||
self._elapsed.set_text(str(Duration(elapsed)))
|
||||
self._rest.set_text(str(Duration(duration-elapsed)))
|
||||
else:
|
||||
self._elapsed.set_text(str(Duration()))
|
||||
self._rest.set_text(str(Duration()))
|
||||
self._elapsed.set_text("")
|
||||
self._rest.set_text("")
|
||||
|
||||
def _disable(self, *args):
|
||||
self.set_sensitive(False)
|
||||
|
Loading…
Reference in New Issue
Block a user