From 4eaddc1cb7e29f1bfa6e8c44532961595439db1f Mon Sep 17 00:00:00 2001 From: Michael Webster Date: Mon, 16 Dec 2019 11:34:39 -0500 Subject: [PATCH] xed-tab-label.c: Apply tab tooltip to the box containing the tab's label and icon, regression from 808e77b052322b8f. --- xed/xed-tab-label.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xed/xed-tab-label.c b/xed/xed-tab-label.c index 1e3b00d..296379d 100644 --- a/xed/xed-tab-label.c +++ b/xed/xed-tab-label.c @@ -46,7 +46,7 @@ struct _XedTabLabelPrivate { XedTab *tab; - GtkWidget *ebox; + GtkWidget *label_box; GtkWidget *close_button; GtkWidget *spinner; GtkWidget *icon; @@ -121,7 +121,7 @@ sync_tip (XedTab *tab, str = _xed_tab_get_tooltips (tab); g_return_if_fail (str != NULL); - gtk_widget_set_tooltip_markup (tab_label->priv->ebox, str); + gtk_widget_set_tooltip_markup (tab_label->priv->label_box, str); g_free (str); } @@ -286,6 +286,8 @@ xed_tab_label_init (XedTabLabel *tab_label) label = gtk_label_new (""); + tab_label->priv->label_box = hbox; + gtk_widget_set_halign (label, GTK_ALIGN_START); gtk_widget_set_margin_start (label, 0); gtk_widget_set_margin_end (label, 0);