def on_create_new_account(self, widget): #Check if we have already setup GCM import config if not config.existsConfigOption('gcmandroidId'): dialogs.GenerateGCMWindow() else: dialogs.AccountCreationWizardWindow()
def run(self): self.roster = roster_window.RosterWindow() #fill the roster contacts... #self.roster._before_fill() #for account in gajim.connections: # gajim.connections[account].load_roster_from_db() #self.roster._after_fill() #connect here possibly by using glib timeout_add #connect to idle queue of gcm connector? import config import dialogs if not config.existsConfigOption('gcmandroidId'): dialogs.GenerateGCMWindow() else: mtalkconn.start_gcm(self)