[hamster-applet] "basic instructions" trophy
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet] "basic instructions" trophy
- Date: Fri, 20 Aug 2010 20:13:58 +0000 (UTC)
commit aea3a4067d783d41a8611293e1ac28309a1dbb5a
Author: Toms Bauģis <toms baugis gmail com>
Date: Fri Aug 20 21:13:09 2010 +0100
"basic instructions" trophy
src/hamster-time-tracker | 4 +++-
src/hamster/applet.py | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/hamster-time-tracker b/src/hamster-time-tracker
index 7498258..8e2a503 100755
--- a/src/hamster-time-tracker
+++ b/src/hamster-time-tracker
@@ -276,6 +276,8 @@ class ProjectHamster(object):
dialogs.prefs.show(self.window)
def on_menu_help_contents_activate(self, *args):
gtk.show_uri(gtk.gdk.Screen(), "ghelp:hamster-applet", 0L)
+ trophies.unlock("basic_instructions")
+
"""signals"""
def after_activity_update(self, widget):
@@ -509,7 +511,7 @@ if __name__ == "__main__":
gtk.gdk.threads_init()
gtk.window_set_default_icon_name("hamster-applet")
- from hamster import stuff, widgets, idle
+ from hamster import stuff, widgets, idle, trophies
try:
import wnck
diff --git a/src/hamster/applet.py b/src/hamster/applet.py
index 3fe9d76..d78c964 100755
--- a/src/hamster/applet.py
+++ b/src/hamster/applet.py
@@ -33,7 +33,7 @@ import locale
from configuration import conf, runtime, dialogs
-import stuff
+import stuff, trophies
# controllers for other windows
import widgets
@@ -703,4 +703,6 @@ class HamsterApplet(object):
def on_help_clicked(self, *args):
gtk.show_uri(gtk.gdk.Screen(), "ghelp:hamster-applet", 0L)
+
+ trophies.unlock("basic_instructions")
return False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]