Пример #1
0
 def loadFavorites(self, tab):
     """
     Loads the favorite server list from a file using the FileManager and
     update the serverlist on the requesting tab.
     All of this is done
     on background threads using the QueryManager
     
     @param tab - the tab requesting the favorite servers list
     """
     Log.log.debug('[GuiController] loadFavorites called...')
     gobject.idle_add(tab.clearServerList)
     qm = QueryManager()
     tab.set_querymanager(qm)
     qm.startFavoritesLoadingThread(tab)