aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-10-22 23:59:07 +0800
committerChristian Persch <chpe@src.gnome.org>2004-10-22 23:59:07 +0800
commit1df51f70987dd8e32bcbc08dc5ee970be7b58e20 (patch)
treebb89cc1e7670d72614d3aa66f1e0dba035adc577 /src
parent5e0872332cd0be1b5035df05805cc76ebb6ba820 (diff)
downloadgsoc2013-epiphany-1df51f70987dd8e32bcbc08dc5ee970be7b58e20.tar
gsoc2013-epiphany-1df51f70987dd8e32bcbc08dc5ee970be7b58e20.tar.gz
gsoc2013-epiphany-1df51f70987dd8e32bcbc08dc5ee970be7b58e20.tar.bz2
gsoc2013-epiphany-1df51f70987dd8e32bcbc08dc5ee970be7b58e20.tar.lz
gsoc2013-epiphany-1df51f70987dd8e32bcbc08dc5ee970be7b58e20.tar.xz
gsoc2013-epiphany-1df51f70987dd8e32bcbc08dc5ee970be7b58e20.tar.zst
gsoc2013-epiphany-1df51f70987dd8e32bcbc08dc5ee970be7b58e20.zip
Add tooltip on close button. Thanks to spark for the string review; fixes
2004-10-22 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (build_tab_label): Add tooltip on close button. Thanks to spark for the string review; fixes bug #155828.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-notebook.c3
1 files changed, 3 insertions, 0 deletions
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);