diff options
author | Morgan Collett <morgan.collett@gmail.com> | 2008-12-19 12:21:34 (GMT) |
---|---|---|
committer | Morgan Collett <morgan.collett@gmail.com> | 2008-12-20 12:19:31 (GMT) |
commit | ccd2656a216023b7d1aeef2a61bdcb77ddca037a (patch) | |
tree | 4fb4b968f66fe8ba34c35c113a7f1b7b188079f5 /src/telepathy_plugin.py | |
parent | ab215da45af72315270c209608553c359817cfa6 (diff) |
#142: D-Bus method to restart the server_plugin.
Changes to ShellOwner and GenericOwner to reread the server from gconf on the fly.
Diffstat (limited to 'src/telepathy_plugin.py')
-rw-r--r-- | src/telepathy_plugin.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/telepathy_plugin.py b/src/telepathy_plugin.py index 982f7cc..5aca07e 100644 --- a/src/telepathy_plugin.py +++ b/src/telepathy_plugin.py @@ -591,6 +591,8 @@ class TelepathyPlugin(gobject.GObject): # Only init connection if we have a valid IP address if self._could_connect(): + # Reread account info in case the server changed + self._account = self._get_account_info() self._init_connection() else: _logger.debug('%r: Postponing connection', self) |