Commit 4148366e authored by Cédric Bellegarde's avatar Cédric Bellegarde

Fix panel mode switching

parent bc9cbc2c
......@@ -47,11 +47,11 @@ class ToolbarActions(Gtk.Bin):
if panel_mode == PanelMode.NONE or fullscreen:
self.__view_button.show()
self.__close_button.show()
if not fullscreen:
El().settings.connect("changed::panel-mode",
self.__on_panel_mode_changed)
else:
self.__filter_button.show()
if not fullscreen:
El().settings.connect("changed::panel-mode",
self.__on_panel_mode_changed)
def set_actions(self, view):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment