hide unneeded labels in SeekBar

This commit is contained in:
Martin Wagner 2022-03-15 16:43:23 +01:00
parent 82ad11472c
commit bf32ef7a29

View File

@ -3086,8 +3086,8 @@ class SeekBar(Gtk.Box):
self._elapsed.set_text(str(Duration(elapsed))) self._elapsed.set_text(str(Duration(elapsed)))
self._rest.set_text(str(Duration(duration-elapsed))) self._rest.set_text(str(Duration(duration-elapsed)))
else: else:
self._elapsed.set_text(str(Duration())) self._elapsed.set_text("")
self._rest.set_text(str(Duration())) self._rest.set_text("")
def _disable(self, *args): def _disable(self, *args):
self.set_sensitive(False) self.set_sensitive(False)