# HG changeset patch # User Goffi # Date 1396433467 -7200 # Node ID 2e052998c7eb15f2756b9b0be05007e7647780f7 # Parent 5c7707c958d895cb324113e492d5ce2704b0b1e0 jp: using C.APP_URL for application url diff -r 5c7707c958d8 -r 2e052998c7eb frontends/src/jp/base.py --- a/frontends/src/jp/base.py Tue Apr 01 21:30:21 2014 +0200 +++ b/frontends/src/jp/base.py Wed Apr 02 12:11:07 2014 +0200 @@ -40,6 +40,7 @@ from sat_frontends.bridge.DBus import DBusBridgeFrontend from sat.core import exceptions import sat_frontends.jp +from sat_frontends.jp.constants import Const as C try: import progressbar except ImportError: @@ -50,7 +51,7 @@ #consts prog_name = u"jp" description = """This software is a command line tool for XMPP. -Get the latest version at http://sat.goffi.org""" +Get the latest version at """ + C.APP_URL copyleft = u"""Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014 Jérôme Poisson (aka Goffi) This program comes with ABSOLUTELY NO WARRANTY; diff -r 5c7707c958d8 -r 2e052998c7eb frontends/src/jp/constants.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/frontends/src/jp/constants.py Wed Apr 02 12:11:07 2014 +0200 @@ -0,0 +1,25 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +# Primitivus: a SAT frontend +# Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014 Jérôme Poisson (goffi@goffi.org) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +from sat_frontends.quick_frontend import constants + + +class Const(constants.Const): + + APP_NAME = "jp"