Use my giant axe for fix a crasher.
This commit is contained in:
parent
996f08beb3
commit
fb5100df89
@ -1,9 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2009/10/13 23:36:16 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.15 2009/10/14 12:08:23 ajacoutot Exp $
|
||||
|
||||
COMMENT= time tracker applet for GNOME
|
||||
|
||||
GNOME_PROJECT= hamster-applet
|
||||
GNOME_VERSION= 2.28.0
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
|
||||
CATEGORIES= productivity
|
||||
|
||||
HOMEPAGE= http://live.gnome.org/ProjectHamster
|
||||
|
@ -1,18 +1,24 @@
|
||||
$OpenBSD: patch-hamster_hamster-applet_py,v 1.2 2009/10/13 23:36:16 jasper Exp $
|
||||
--- hamster/hamster-applet.py.orig Wed Oct 14 01:03:36 2009
|
||||
+++ hamster/hamster-applet.py Wed Oct 14 01:16:55 2009
|
||||
$OpenBSD: patch-hamster_hamster-applet_py,v 1.3 2009/10/14 12:08:23 ajacoutot Exp $
|
||||
--- hamster/hamster-applet.py.orig Tue Sep 1 11:05:30 2009
|
||||
+++ hamster/hamster-applet.py Wed Oct 14 14:03:46 2009
|
||||
@@ -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>
|
||||
@@ -39,7 +39,7 @@ from hamster.configuration import runtime
|
||||
@@ -38,14 +38,6 @@ from hamster.configuration import runtime
|
||||
|
||||
# Setup i18n
|
||||
locale_dir = os.path.abspath(os.path.join(defs.DATA_DIR, "locale"))
|
||||
|
||||
-
|
||||
-for module in (gettext, locale):
|
||||
+for module in (gettext):
|
||||
module.bindtextdomain('hamster-applet', locale_dir)
|
||||
module.textdomain('hamster-applet')
|
||||
- module.bindtextdomain('hamster-applet', locale_dir)
|
||||
- module.textdomain('hamster-applet')
|
||||
-
|
||||
- if hasattr(module, 'bind_textdomain_codeset'):
|
||||
- module.bind_textdomain_codeset('hamster-applet','UTF-8')
|
||||
-
|
||||
|
||||
from hamster.applet import HamsterApplet
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user