diff options
author | Michael Catanzaro <mcatanzaro@igalia.com> | 2015-07-20 13:16:14 -0500 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@igalia.com> | 2015-07-20 18:23:58 -0500 |
commit | 18c227908098a715b7b1686ffab6d151dc2459ba (patch) | |
tree | aab51a0718ad381f4850c5a8528631d7d275c447 | |
parent | 51e844a9e0e7e9901cbe22c923debeaa45bed006 (diff) | |
download | epiphany-18c227908098a715b7b1686ffab6d151dc2459ba.tar.gz |
Set page title as a tooltip for tabs
https://bugzilla.gnome.org/show_bug.cgi?id=752606
-rw-r--r-- | src/ephy-notebook.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c index 4a083411f..5cc3bc609 100644 --- a/src/ephy-notebook.c +++ b/src/ephy-notebook.c @@ -509,7 +509,11 @@ sync_icon (EphyWebView *view, static void sync_label (EphyEmbed *embed, GParamSpec *pspec, GtkWidget *label) { - gtk_label_set_text (GTK_LABEL (label), ephy_embed_get_title (embed)); + const char *title; + + title = ephy_embed_get_title (embed); + gtk_label_set_text (GTK_LABEL (label), title); + gtk_widget_set_tooltip_text (label, title); } static void |