[epiphany/gnome-3-30] Hide homepage button in app mode



commit 7ed75b68e668a01e39d71ad101cc8299201e2c06
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Mon Aug 27 22:40:40 2018 -0500

    Hide homepage button in app mode
    
    Not sure when this button appeared in app mode, but it's clearly a
    mistake.

 src/ephy-action-bar-start.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/ephy-action-bar-start.c b/src/ephy-action-bar-start.c
index 2f544a76d..3e74fc3bf 100644
--- a/src/ephy-action-bar-start.c
+++ b/src/ephy-action-bar-start.c
@@ -455,6 +455,8 @@ ephy_action_bar_start_constructed (GObject *object)
                       "changed::" EPHY_PREFS_HOMEPAGE_URL,
                       G_CALLBACK (homepage_url_changed),
                       action_bar_start->homepage_button);
+  } else {
+    gtk_widget_set_visible (action_bar_start->homepage_button, FALSE);
   }
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]