示例#1
0
    def __init__(self, parent=None):
        ModelFolder.__init__(self, self.title, parent)

        self.callback_use = None
        self.callback_update = None
        self.callback_killall = None

        self.__create_renderer()
示例#2
0
    def __init__(self, name, parent, prop, community=False):
        self.prop = prop
        self.callback_notify = None
        self.callback_update_list = None
        self.size = 0
        self.community = community
	self.thumbler = mger.thumbnailer

        ModelFolder.__init__(self, name, parent)
示例#3
0
 def __init__(self, parent):
     Task.__init__(self)
     ModelFolder.__init__(self, "Twitter", parent)
     try:
         twitter_manager.loadSettings()
     except AuthError:
         return
     except TwitterError:
         return
示例#4
0
 def __init__(self, name, parent):
     ModelFolder.__init__(self,name,parent)
     self.id = None
     self.uname = None
     self.text = None
     self.info = None
     self.thumb_url = None
     self.thumb = None
     self.is_deletable = False
示例#5
0
 def __init__(self, parent=None):
     ModelFolder.__init__(self, self.title, parent)
     self.prefs = PluginPrefs('picasa')
     try:
         self._state = self.prefs["photocast_sync"]
     except KeyError:
         self._state = False
         self.prefs["photocast_sync"] = self._state
         self.prefs.save()
示例#6
0
 def __init__(self, parent=None):
     ModelFolder.__init__(self, self.title, parent)
示例#7
0
 def __init__(self, parent):
     Task.__init__(self)
     ModelFolder.__init__(self, "Picasa", parent)
     self.callback_notify = None
示例#8
0
 def __init__(self, name, parent):
     ModelFolder.__init__(self, name, parent)
     self.callback_notify = None
     self.callback_throbber_start = None
     self.callback_throbber_stop = None
示例#9
0
 def do_unload(self):
     gps_manager.stop()
     ModelFolder.do_unload(self)
示例#10
0
 def __init__(self, parent):
     ModelFolder.__init__(self, "Search by GPS location", parent)
示例#11
0
 def __init__(self, parent=None):
     ModelFolder.__init__(self, self.title, parent)
     self.album_prop = parent.parent.prop
     self.album_model = parent.parent
示例#12
0
 def do_unload(self):
     ModelFolder.do_unload(self)
示例#13
0
 def __init__(self, parent):
     Task.__init__(self)
     ModelFolder.__init__(self, "Twitpic", parent)
示例#14
0
 def __init__(self, parent):
     Task.__init__(self)
     ModelFolder.__init__(self, "Last.fm", parent)
示例#15
0
 def __init__(self, name, parent):
     ModelFolder.__init__(self, name, parent)
     self.db.execute(self.stmt_create)
示例#16
0
 def __init__(self, name, parent):
     ModelFolder.__init__(self, name, parent)
     self.callback_notify = None
     self.callback_no_track_found = None
示例#17
0
 def do_unload(self):
     self.current = None
     ModelFolder.do_unload(self)
示例#18
0
 def __init__(self, name, parent):
     ModelFolder.__init__(self, name, parent)
     self.parent_model = parent
     self.query = None