aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/ephy-notebook.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a84742fb4..833ed6feb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
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.
+
+2004-10-22 Christian Persch <chpe@cvs.gnome.org>
+
* src/ephy-favicon-action.c: (create_tool_item), (set_tooltip_cb),
(connect_proxy), (ephy_favicon_action_set_property),
(ephy_favicon_action_get_property):
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);