[network-manager-netbook] Add a tooltip to the Remove button to make it clearer what it does.



commit 4babcb16cb370b78b94e3e2d8f7cbf67b5d76027
Author: Tambet Ingo <tambet gmail com>
Date:   Mon Jun 15 09:21:18 2009 +0300

    Add a tooltip to the Remove button to make it clearer what it does.

 src/nmn-item.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nmn-item.c b/src/nmn-item.c
index 88da11b..e9edcca 100644
--- a/src/nmn-item.c
+++ b/src/nmn-item.c
@@ -161,6 +161,7 @@ nmn_item_set_delete_visible (NmnItem *item,
 
     if (visible && !priv->remove) {
         priv->remove = gtk_button_new ();
+        gtk_widget_set_tooltip_text (priv->remove, "Remove connection");
         gtk_container_add (GTK_CONTAINER (priv->remove),
                            gtk_image_new_from_stock (GTK_STOCK_DELETE, GTK_ICON_SIZE_BUTTON));
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]