mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
unmaximize window in mini player mode
This commit is contained in:
parent
68160fc4c7
commit
96f89c6c8b
@ -3769,6 +3769,8 @@ class MainWindow(Gtk.ApplicationWindow):
|
||||
if obj.get_property("mini-player"):
|
||||
self.tmp_saved_size=self.get_size()
|
||||
self._save_action.set_enabled(False)
|
||||
if self.is_maximized():
|
||||
self.unmaximize()
|
||||
self.resize(1,1)
|
||||
else:
|
||||
self._save_action.set_enabled(True)
|
||||
|
Loading…
Reference in New Issue
Block a user