[epiphany] ephy-notebook: Bind the tab label text to the embed title
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-notebook: Bind the tab label text to the embed title
- Date: Sun, 2 Feb 2020 14:37:48 +0000 (UTC)
commit a891829bab313b3b2cb6745e3aca5a2e4b251bbf
Author: Yetizone <andreii lisita gmail com>
Date: Sun Feb 2 10:56:02 2020 +0200
ephy-notebook: Bind the tab label text to the embed title
The EphyView's title is set to "\0" for the Blank page, but it's set to
"Blank page" in EphyEmbed, so we bind the tab label text property to the
EphyEmbed's title instead of EphyView's title.
Fixes https://gitlab.gnome.org/GNOME/epiphany/issues/1082
src/ephy-notebook.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index c5bcd447a..c44601a26 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -761,7 +761,7 @@ build_tab_label (EphyNotebook *nb,
g_signal_connect_object (embed, "notify::title",
G_CALLBACK (title_changed_cb), nb, 0);
- g_object_bind_property (view, "title", tab_label, "label-text", G_BINDING_DEFAULT);
+ 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]