From 423a123f79485b8d99d9b40715f27269dcf872b7 Mon Sep 17 00:00:00 2001 From: Martin Wagner Date: Thu, 10 Sep 2020 23:40:27 +0200 Subject: [PATCH] fixed wrong title --- bin/mpdevil | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/mpdevil b/bin/mpdevil index b5308cc..14cbb6a 100755 --- a/bin/mpdevil +++ b/bin/mpdevil @@ -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)