summaryrefslogtreecommitdiff
path: root/src/ephy-header-bar.c
diff options
context:
space:
mode:
authorJan-Michael Brummer <jan.brummer@tabos.org>2018-12-20 23:27:41 +0100
committerMichael Catanzaro <mcatanzaro@posteo.net>2018-12-22 22:28:38 +0000
commitf2360307691671a735e3b853b17ac9febee45b52 (patch)
treea982d12082ddc16069664a93df1859d1c4f57d47 /src/ephy-header-bar.c
parent2a903a40b76644c4d69c0cf3132362de6ffad7be (diff)
downloadepiphany-f2360307691671a735e3b853b17ac9febee45b52.tar.gz
Drop "About" entry in Pantheon
Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/72
Diffstat (limited to 'src/ephy-header-bar.c')
-rw-r--r--src/ephy-header-bar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ephy-header-bar.c b/src/ephy-header-bar.c
index bda11d7c9..cd119088c 100644
--- a/src/ephy-header-bar.c
+++ b/src/ephy-header-bar.c
@@ -234,6 +234,9 @@ ephy_header_bar_constructed (GObject *object)
gtk_widget_destroy (GTK_WIDGET (gtk_builder_get_object (builder, "help-button")));
}
+ if (is_desktop_pantheon ())
+ gtk_widget_destroy (GTK_WIDGET (gtk_builder_get_object (builder, "about-button")));
+
gtk_menu_button_set_popover (GTK_MENU_BUTTON (button), page_menu_popover);
g_object_unref (builder);