move icons to xdg standard dirs, add desktop files

closes #359
This commit is contained in:
Christophe Benz 2010-08-11 19:27:41 +02:00
commit 13f9fc07b2
36 changed files with 70 additions and 29 deletions

View file

@ -15,6 +15,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
import os
from weboob.capabilities.bank import ICapBank, AccountNotFound
@ -22,6 +23,7 @@ from weboob.tools.backend import BaseBackend
from .browser import Cragr
class CragrBackend(BaseBackend, ICapBank):
NAME = 'cragr'
MAINTAINER = 'Laurent Bachelier'
@ -29,8 +31,6 @@ class CragrBackend(BaseBackend, ICapBank):
VERSION = '0.1'
DESCRIPTION = 'Credit Agricole french bank\'s website'
LICENSE = 'GPLv3'
ICON = os.path.join(os.path.dirname(__file__), 'data/logo.png')
CONFIG = {'login': BaseBackend.ConfigField(description='Account ID'),
'password': BaseBackend.ConfigField(description='Password of account', is_masked=True),
'website': BaseBackend.ConfigField(description='What website to use', default='m.lefil.com'),