[epiphany/wip/exalm/tabs: 91/92] a
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/exalm/tabs: 91/92] a
- Date: Wed, 27 Jan 2021 09:26:49 +0000 (UTC)
commit b656bc0c1d8a1f008bb5ee4a9d87784747e21c73
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Jan 26 20:16:13 2021 +0500
a
src/ephy-page-row.c | 2 +-
src/ephy-tab-view.c | 20 ++++++++++----------
2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/ephy-page-row.c b/src/ephy-page-row.c
index 6d27ffd83..ccb239a68 100644
--- a/src/ephy-page-row.c
+++ b/src/ephy-page-row.c
@@ -151,7 +151,7 @@ ephy_page_row_new (EphyTabView *tab_view,
g_object_bind_property (page, "title",
self->title, "label",
G_BINDING_SYNC_CREATE);
- g_object_bind_property (page, "secondary-icon",
+ g_object_bind_property (page, "indicator-icon",
self->speaker_icon, "gicon",
G_BINDING_SYNC_CREATE);
g_object_bind_property (page, "pinned",
diff --git a/src/ephy-tab-view.c b/src/ephy-tab-view.c
index c927770e5..96a33b476 100644
--- a/src/ephy-tab-view.c
+++ b/src/ephy-tab-view.c
@@ -65,8 +65,8 @@ notify_selected_page_cb (EphyTabView *self)
}
static void
-secondary_icon_activated_cb (EphyTabView *self,
- HdyTabPage *page)
+indicator_activated_cb (EphyTabView *self,
+ HdyTabPage *page)
{
EphyEmbed *embed = EPHY_EMBED (hdy_tab_page_get_child (page));
EphyWebView *view = ephy_embed_get_web_view (embed);
@@ -174,8 +174,8 @@ ephy_tab_view_init (EphyTabView *self)
G_CONNECT_SWAPPED);
g_signal_connect_object (self->tab_view,
- "secondary-icon-activated",
- G_CALLBACK (secondary_icon_activated_cb),
+ "indicator-activated",
+ G_CALLBACK (indicator_activated_cb),
self,
G_CONNECT_SWAPPED);
}
@@ -388,7 +388,7 @@ update_icon_cb (HdyTabPage *page)
}
static void
-update_secondary_icon_cb (HdyTabPage *page)
+update_indicator_cb (HdyTabPage *page)
{
EphyEmbed *embed = EPHY_EMBED (hdy_tab_page_get_child (page));
EphyWebView *view = ephy_embed_get_web_view (embed);
@@ -401,7 +401,7 @@ update_secondary_icon_cb (HdyTabPage *page)
icon = G_ICON (g_themed_icon_new ("ephy-audio-playing-symbolic"));
}
- hdy_tab_page_set_secondary_icon (page, icon);
+ hdy_tab_page_set_indicator_icon (page, icon);
}
gint
@@ -423,7 +423,7 @@ ephy_tab_view_add_tab (EphyTabView *self,
view = ephy_embed_get_web_view (embed);
- hdy_tab_page_set_secondary_icon_activatable (page, TRUE);
+ hdy_tab_page_set_indicator_activatable (page, TRUE);
g_object_bind_property (view, "is-loading", page, "loading", G_BINDING_SYNC_CREATE);
@@ -440,15 +440,15 @@ ephy_tab_view_add_tab (EphyTabView *self,
G_CALLBACK (update_icon_cb), page,
G_CONNECT_SWAPPED);
g_signal_connect_object (view, "notify::is-playing-audio",
- G_CALLBACK (update_secondary_icon_cb), page,
+ G_CALLBACK (update_indicator_cb), page,
G_CONNECT_SWAPPED);
g_signal_connect_object (view, "notify::is-muted",
- G_CALLBACK (update_secondary_icon_cb), page,
+ G_CALLBACK (update_indicator_cb), page,
G_CONNECT_SWAPPED);
update_title_cb (page);
update_icon_cb (page);
- update_secondary_icon_cb (page);
+ update_indicator_cb (page);
return hdy_tab_view_get_page_position (self->tab_view, page);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]