parent
27812fe3b0
commit
ac0682e991
1 changed files with 6 additions and 1 deletions
|
@ -18,6 +18,7 @@
|
||||||
import gtk
|
import gtk
|
||||||
import gobject
|
import gobject
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
import time
|
import time
|
||||||
import urllib
|
import urllib
|
||||||
|
|
||||||
|
@ -4173,7 +4174,11 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
|
||||||
gajim.interface.instances['account_creation_wizard'] = \
|
gajim.interface.instances['account_creation_wizard'] = \
|
||||||
config.AccountCreationWizardWindow()
|
config.AccountCreationWizardWindow()
|
||||||
|
|
||||||
nm_listener = NetworkManagerListener(self.nm_activated_CB, self.nm_deactivated_CB)
|
try:
|
||||||
|
nm_listener = NetworkManagerListener(self.nm_activated_CB,
|
||||||
|
self.nm_deactivated_CB)
|
||||||
|
except:
|
||||||
|
print >> sys.stderr, _('Network manager support not available')
|
||||||
|
|
||||||
def nm_activated_CB(self, dev, net):
|
def nm_activated_CB(self, dev, net):
|
||||||
for acc in gajim.contacts.get_accounts():
|
for acc in gajim.contacts.get_accounts():
|
||||||
|
|
Loading…
Add table
Reference in a new issue