[epiphany] header-bar: Fix mobile capable reset during startup
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] header-bar: Fix mobile capable reset during startup
- Date: Mon, 24 Aug 2020 19:18:13 +0000 (UTC)
commit 27d3a070fecddcfd0f90a10325ab6a3ac7c7df56
Author: Jan-Michael Brummer <jan brummer tabos org>
Date: Mon Aug 24 20:32:19 2020 +0200
header-bar: Fix mobile capable reset during startup
Only set GObject property once setting changes.
src/ephy-header-bar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/ephy-header-bar.c b/src/ephy-header-bar.c
index cbcc25e28..8a5f2e661 100644
--- a/src/ephy-header-bar.c
+++ b/src/ephy-header-bar.c
@@ -337,7 +337,7 @@ ephy_header_bar_constructed (GObject *object)
if (ephy_profile_dir_is_web_application ()) {
GtkWidget *navigation_box = ephy_action_bar_start_get_navigation_box (header_bar->action_bar_start);
- g_settings_bind (EPHY_SETTINGS_WEB_APP, EPHY_PREFS_WEB_APP_MOBILE_CAPABLE, navigation_box, "visible",
G_SETTINGS_BIND_DEFAULT | G_SETTINGS_BIND_INVERT_BOOLEAN);
+ g_settings_bind (EPHY_SETTINGS_WEB_APP, EPHY_PREFS_WEB_APP_MOBILE_CAPABLE, navigation_box, "visible",
G_SETTINGS_BIND_GET | G_SETTINGS_BIND_INVERT_BOOLEAN);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]