add a defs.py to svn for windows users
take version number from defs.py, so now when we upgrade it we have to upgrade in configure.ac AND defs.py (for win users)
This commit is contained in:
parent
dff640fc6a
commit
f6565b5703
3 changed files with 8 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
AC_INIT([Gajim - A Jabber Instant Messager],
|
||||
[0.11.0],[http://trac.gajim.org/],[gajim])
|
||||
[0.10.1.6],[http://trac.gajim.org/],[gajim])
|
||||
AC_PREREQ([2.59])
|
||||
AM_INIT_AUTOMAKE([1.8])
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
import sre
|
||||
import copy
|
||||
import defs
|
||||
|
||||
|
||||
(
|
||||
|
@ -143,7 +144,7 @@ class Config:
|
|||
'send_on_ctrl_enter': [opt_bool, False, _('Send message on Ctrl+Enter and with Enter make new line (Mirabilis ICQ Client default behaviour).')],
|
||||
'show_roster_on_startup': [opt_bool, True],
|
||||
'key_up_lines': [opt_int, 25, _('How many lines to store for Ctrl+KeyUP.')],
|
||||
'version': [ opt_str, '0.10.1.6' ], # which version created the config
|
||||
'version': [ opt_str, defs.version ], # which version created the config
|
||||
'search_engine': [opt_str, 'http://www.google.com/search?&q=%s&sourceid=gajim'],
|
||||
'dictionary_url': [opt_str, 'WIKTIONARY', _("Either custom url with %s in it where %s is the word/phrase or 'WIKTIONARY' which means use wiktionary.")],
|
||||
'always_english_wikipedia': [opt_bool, False],
|
||||
|
|
5
src/common/defs.py
Normal file
5
src/common/defs.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
docdir = "../"
|
||||
|
||||
datadir = "../"
|
||||
|
||||
version = "0.10.1.6"
|
Loading…
Add table
Reference in a new issue