Commit 368a1c79 authored by Cédric Bellegarde's avatar Cédric Bellegarde

We need to use home button to check button visibility

parent 86932d7b
......@@ -39,7 +39,7 @@ class ToolbarMenu(Gtk.PopoverMenu):
self.__toolbar = toolbar
builder = Gtk.Builder()
builder.add_from_resource("/org/gnome/Eolie/ToolbarMenu.ui")
if not toolbar.download_button.is_visible():
if not toolbar.home_button.is_visible():
builder.get_object("toolbar_items").show()
fullscreen_button = builder.get_object("fullscreen_button")
if self.__window.is_fullscreen:
......
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