fixed wrong title

This commit is contained in:
Martin Wagner 2020-09-10 23:40:27 +02:00
parent 7a2c8cbf12
commit 423a123f79

View File

@ -3540,11 +3540,9 @@ class MainWindow(Gtk.ApplicationWindow):
def _on_disconnected(self, *args):
self._dbus_service.release_name()
self.set_title("mpdevil")
if self._use_csd:
self.set_title("mpdevil")
self._header_bar.set_subtitle(_("not connected"))
else:
self.set_title("mpdevil ("+_("not connected")+")")
self._header_bar.set_subtitle("")
self.songid_playing=None
self._playback_control.set_sensitive(False)