From ccd2656a216023b7d1aeef2a61bdcb77ddca037a Mon Sep 17 00:00:00 2001 From: Morgan Collett Date: Fri, 19 Dec 2008 12:21:34 +0000 Subject: #142: D-Bus method to restart the server_plugin. Changes to ShellOwner and GenericOwner to reread the server from gconf on the fly. --- (limited to 'src/telepathy_plugin.py') 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) -- cgit v0.9.1