~ubuntu-branches/debian/sid/autokey/sid

1.1.8 by Luke Faraone
Import upstream version 0.61.5
1
#!/usr/bin/env python
2
# -*- coding: utf-8 -*-
3
4
# Copyright (C) 2008 Chris Dekter
5
6
# This program is free software; you can redistribute it and/or modify
7
# it under the terms of the GNU General Public License as published by
8
# the Free Software Foundation; either version 2 of the License, or
9
# (at your option) any later version.
10
#
11
# This program is distributed in the hope that it will be useful, but
12
# WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
# General Public License for more details.
15
#
16
# You should have received a copy of the GNU General Public License
17
# along with this program; if not, write to the Free Software
18
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19
20
import os.path
21
CONFIG_DIR = os.path.expanduser("~/.config/autokey")
22
LOCK_FILE = CONFIG_DIR + "/autokey.pid"
23
LOG_FILE = CONFIG_DIR + "/autokey.log"
24
MAX_LOG_SIZE = 5 * 1024 * 1024 # 5 megabytes
25
MAX_LOG_COUNT = 3
26
LOG_FORMAT = "%(levelname)s - %(name)s - %(message)s"
27
28
APP_NAME = "AutoKey"
29
CATALOG = ""
1.1.9 by Luke Faraone
Import upstream version 0.61.7
30
VERSION = "0.61.7"
1.1.8 by Luke Faraone
Import upstream version 0.61.5
31
HOMEPAGE  = "http://autokey.sourceforge.net/"
32
BUG_EMAIL = "cdekter@gmail.com"
33
34
FAQ_URL = "http://code.google.com/p/autokey/wiki/FAQ"
35
HELP_URL = "http://code.google.com/p/autokey/w/list"
36
DONATE_URL = "https://sourceforge.net/donate/index.php?group_id=216191"
37
38
CONFIG_WINDOW_TITLE = "Configuration"
39
40
ICON_FILE = "/usr/share/pixmaps/akicon.png"
41
42
USING_QT = True
43
44
# Misc
45
DOMAIN_SOCKET_PATH = "/var/run/autokey-daemon"
46
PACKET_SIZE = 32
47
48