From 1df51f70987dd8e32bcbc08dc5ee970be7b58e20 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 22 Oct 2004 15:59:07 +0000 Subject: Add tooltip on close button. Thanks to spark for the string review; fixes 2004-10-22 Christian Persch * src/ephy-notebook.c: (build_tab_label): Add tooltip on close button. Thanks to spark for the string review; fixes bug #155828. --- src/ephy-notebook.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ephy-notebook.c') diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c index 0c4919bc4..00fa0cd35 100644 --- a/src/ephy-notebook.c +++ b/src/ephy-notebook.c @@ -868,6 +868,9 @@ build_tab_label (EphyNotebook *nb, EphyTab *tab) gtk_container_add (GTK_CONTAINER (close_button), image); gtk_box_pack_start (GTK_BOX (hbox), close_button, FALSE, FALSE, 0); + gtk_tooltips_set_tip (nb->priv->title_tips, close_button, + _("Close tab"), NULL); + g_signal_connect (G_OBJECT (close_button), "clicked", G_CALLBACK (close_button_clicked_cb), tab); -- cgit