3c1951d197
Project Hamster is time tracking for masses. It helps you to keep track on how much time you have spent during the day on activities you have set up. At the beginning you define some activities you do, like "hacking GNOME", "listening to Humppa", "hurling beer", "pretend to be hacking" and so on, and, whenever you change from doing one task to other, you change your current activity in Hamster. After a while you can see some statistics of how many hours you have spent on what. Some nice reports and graphical statistics will help you keep time tracking fun. ok ajacoutot@
22 lines
854 B
Plaintext
22 lines
854 B
Plaintext
$OpenBSD: patch-hamster_hamster-applet_py,v 1.1.1.1 2008/11/24 23:15:54 jasper Exp $
|
|
--- hamster/hamster-applet.py.orig Tue Oct 28 20:56:08 2008
|
|
+++ hamster/hamster-applet.py Mon Nov 24 21:43:57 2008
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!${MODPY_BIN}
|
|
# - coding: utf-8 -
|
|
|
|
# Copyright (C) 2007, 2008 Toms Bauģis <toms.baugis at gmail.com>
|
|
@@ -50,11 +50,6 @@ gettext.bindtextdomain('hamster-applet', abspath(join(
|
|
if hasattr(gettext, 'bind_textdomain_codeset'):
|
|
gettext.bind_textdomain_codeset('hamster-applet','UTF-8')
|
|
gettext.textdomain('hamster-applet')
|
|
-
|
|
-locale.bindtextdomain('hamster-applet', abspath(join(hamster.defs.DATA_DIR, "locale")))
|
|
-if hasattr(locale, 'bind_textdomain_codeset'):
|
|
- locale.bind_textdomain_codeset('hamster-applet','UTF-8')
|
|
-locale.textdomain('hamster-applet')
|
|
|
|
hamster.__init_db()
|
|
import hamster.applet
|