Beispiel #1
0
 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()
Beispiel #2
0
    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)
Beispiel #3
0
    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)