[hamster-applet] bug 597866 - dynamically changing label of the current period button
- From: Toms Baugis <tbaugis src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [hamster-applet] bug 597866 - dynamically changing label of the current period button
- Date: Tue, 27 Oct 2009 22:10:07 +0000 (UTC)
commit 2a6605f1d84db8f8a728d128f46c7289b032cb17
Author: Toms Bauģis <toms baugis gmail com>
Date: Tue Oct 27 22:09:38 2009 +0000
bug 597866 - dynamically changing label of the current period button
hamster/stats.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/hamster/stats.py b/hamster/stats.py
index c3c6e34..bc8fb0e 100644
--- a/hamster/stats.py
+++ b/hamster/stats.py
@@ -1068,6 +1068,7 @@ than 15 minutes you seem to be a busy bee." % ("<b>%d</b>" % short_percent))
self.get_widget("prev").set_tooltip_text(_("Previous day"))
self.get_widget("next").set_tooltip_text(_("Next day"))
self.get_widget("home").set_tooltip_text(_("Today"))
+ self.get_widget("home").set_label(_("Today"))
self.do_graph()
@@ -1079,6 +1080,7 @@ than 15 minutes you seem to be a busy bee." % ("<b>%d</b>" % short_percent))
self.get_widget("prev").set_tooltip_text(_("Previous week"))
self.get_widget("next").set_tooltip_text(_("Next week"))
self.get_widget("home").set_tooltip_text(_("This week"))
+ self.get_widget("home").set_label(_("This Week"))
self.do_graph()
@@ -1090,6 +1092,7 @@ than 15 minutes you seem to be a busy bee." % ("<b>%d</b>" % short_percent))
self.get_widget("prev").set_tooltip_text(_("Previous month"))
self.get_widget("next").set_tooltip_text(_("Next month"))
self.get_widget("home").set_tooltip_text(_("This month"))
+ self.get_widget("home").set_label(_("This Month"))
self.do_graph()
def on_remove_clicked(self, button):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]