summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-05-06 20:20:47 +0200
committermathieui <mathieui@mathieui.net>2013-05-06 20:23:33 +0200
commit48614d6cf04518a95bad4d9893a63a5c4f99b653 (patch)
tree90bb646e00189b417fe572943d895c9c4ffc3531 /src/core.py
parentea5bfbfca4adcc0e5923e3c0b37f50e7e75b5440 (diff)
downloadpoezio-48614d6cf04518a95bad4d9893a63a5c4f99b653.tar.gz
poezio-48614d6cf04518a95bad4d9893a63a5c4f99b653.tar.bz2
poezio-48614d6cf04518a95bad4d9893a63a5c4f99b653.tar.xz
poezio-48614d6cf04518a95bad4d9893a63a5c4f99b653.zip
Fix #2286
Also fix the copy of the default config if -f is used
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core.py b/src/core.py
index 3b0b490e..dbc65930 100644
--- a/src/core.py
+++ b/src/core.py
@@ -50,7 +50,7 @@ import bookmark
from plugin_manager import PluginManager
from data_forms import DataFormsTab
-from config import config
+from config import config, firstrun
from logger import logger
from roster import roster
from contact import Contact, Resource
@@ -330,13 +330,13 @@ class Core(object):
default_tab.on_gain_focus()
self.tabs.append(default_tab)
self.information(_('Welcome to poezio!'))
- if config.get('firstrun', ''):
+ if firstrun:
self.information(_(
- 'It seems that it is the first time you start poezio.\n' + \
- 'The online help is here http://poezio.eu/en/documentation.php.\n' + \
- 'By default, you are in poezio’s chatroom, where you can ask for help or tell us how great it is.\n' + \
- 'Just press Ctrl-n.' \
- ))
+ 'It seems that it is the first time you start poezio.\n'
+ 'The online help is here http://poezio.eu/doc/en/\n'
+ 'No room is joined by default, but you can join poezio’s chatroom '
+ '(with /join poezio@muc.poezio.eu), where you can ask for help or tell us how great it is.'
+ ), 'Help')
self.refresh_window()
def on_exception(self, typ, value, trace):