mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
fixed wrong title
This commit is contained in:
parent
7a2c8cbf12
commit
423a123f79
@ -3540,11 +3540,9 @@ class MainWindow(Gtk.ApplicationWindow):
|
|||||||
|
|
||||||
def _on_disconnected(self, *args):
|
def _on_disconnected(self, *args):
|
||||||
self._dbus_service.release_name()
|
self._dbus_service.release_name()
|
||||||
|
self.set_title("mpdevil")
|
||||||
if self._use_csd:
|
if self._use_csd:
|
||||||
self.set_title("mpdevil")
|
self._header_bar.set_subtitle("")
|
||||||
self._header_bar.set_subtitle(_("not connected"))
|
|
||||||
else:
|
|
||||||
self.set_title("mpdevil ("+_("not connected")+")")
|
|
||||||
self.songid_playing=None
|
self.songid_playing=None
|
||||||
self._playback_control.set_sensitive(False)
|
self._playback_control.set_sensitive(False)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user