[epiphany] Synchronize page properties on tab label creation



commit 92f023740eb9eebfd393c93a1fb2391786da6c81
Author: Jan-Michael Brummer <jan brummer tabos org>
Date:   Sat Feb 29 14:12:26 2020 +0100

    Synchronize page properties on tab label creation
    
    Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/1113

 src/ephy-notebook.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index c44601a26..1afccdf0c 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -761,11 +761,11 @@ build_tab_label (EphyNotebook *nb,
   g_signal_connect_object (embed, "notify::title",
                            G_CALLBACK (title_changed_cb), nb, 0);
 
-  g_object_bind_property (embed, "title", tab_label, "label-text", G_BINDING_DEFAULT);
-  g_object_bind_property (view, "display-address", tab_label, "label-uri", G_BINDING_DEFAULT);
-  g_object_bind_property (view, "icon", tab_label, "icon-buf", G_BINDING_DEFAULT);
-  g_object_bind_property (view, "is-loading", tab_label, "spinning", G_BINDING_DEFAULT);
-  g_object_bind_property (view, "is-playing-audio", tab_label, "audio", G_BINDING_DEFAULT);
+  g_object_bind_property (embed, "title", tab_label, "label-text", G_BINDING_DEFAULT | 
G_BINDING_SYNC_CREATE);
+  g_object_bind_property (view, "display-address", tab_label, "label-uri", G_BINDING_DEFAULT | 
G_BINDING_SYNC_CREATE);
+  g_object_bind_property (view, "icon", tab_label, "icon-buf", G_BINDING_DEFAULT | G_BINDING_SYNC_CREATE);
+  g_object_bind_property (view, "is-loading", tab_label, "spinning", G_BINDING_DEFAULT | 
G_BINDING_SYNC_CREATE);
+  g_object_bind_property (view, "is-playing-audio", tab_label, "audio", G_BINDING_DEFAULT | 
G_BINDING_SYNC_CREATE);
 
   return tab_label;
 }


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