[PATCH] Fix no account and per_account_option getter.
Use case: At first run, user want to discover the apps without setting an account, Edit -> Preferences
Traceback (most recent call last):
File "/home/bruno/src/gajim/gajim-hg/src/roster_window.py", line 3271, in
on_preferences_menuitem_activate
gajim.interface.instances['preferences'] = config.PreferencesWindow()
File "/home/bruno/src/gajim/gajim-hg/src/config.py", line 482, in
__init__
w.set_active(st)
TypeError: an integer is required
The patch make get_per_account_option() return default value when there is no account not None.