[Sugar-devel] [PATCH] Log: tooltip for activity icon

Manuel Quiñones manuq at laptop.org
Fri Sep 2 07:57:15 EDT 2011


Signed-off-by: Manuel Quiñones <manuq at laptop.org>
---
 logviewer.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/logviewer.py b/logviewer.py
index 6f08e73..8dc8145 100644
--- a/logviewer.py
+++ b/logviewer.py
@@ -355,6 +355,7 @@ class LogActivity(activity.Activity):
         bundle = ActivityBundle(activity.get_bundle_path())
         icon = Icon(file=bundle.get_icon(), xo_color=color)
         activity_button.set_icon_widget(icon)
+        activity_button.props.tooltip = _('Log')
         activity_button.show()
 
         toolbar_box.toolbar.insert(activity_button, -1)
-- 
1.7.4.4



More information about the Sugar-devel mailing list