[hamster-applet] localized "no activity" for the docky
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet] localized "no activity" for the docky
- Date: Thu, 15 Jul 2010 23:19:06 +0000 (UTC)
commit 2396890cda5b5d5513e0510e3c89414d36636cdf
Author: Toms Bauģis <toms baugis gmail com>
Date: Fri Jul 16 00:18:57 2010 +0100
localized "no activity" for the docky
po/POTFILES.in | 1 +
src/docky_control/hamster_control.py | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 14ef7fd..08f7315 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -14,6 +14,7 @@ data/hamster-standalone.desktop.in.in
[type: gettext/glade]data/preferences.ui
[type: gettext/glade]data/range_pick.ui
[type: gettext/glade]data/stats.ui
+src/docky_control/hamster_control.py
src/hamster/about.py
src/hamster/applet.py
src/hamster/db.py
diff --git a/src/docky_control/hamster_control.py b/src/docky_control/hamster_control.py
index 65fd1ec..6f07111 100755
--- a/src/docky_control/hamster_control.py
+++ b/src/docky_control/hamster_control.py
@@ -63,7 +63,7 @@ class DockyHamsterItem(DockyItem):
self.iface.SetText("%(name)s - %(category)s" % fact)
self.iface.SetBadgeText(stuff.format_duration(fact['delta'], human=False))
else:
- self.iface.ResetText()
+ self.iface.SetText(_("No activity"))
self.iface.ResetBadgeText()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]