コード例 #1
0
class SimilarTracksPlugin(GObject.Object, Peas.Activatable):
    object = GObject.property(type=GObject.Object)

    def __init__(self):
        super(SimilarTracksPlugin, self).__init__()

    def do_activate(self):
        self.controller = SimilarTracksController(self)
        self.controller.initialize()

    def do_deactivate(self):
        self.controller.cleanup()
コード例 #2
0
class SimilarTracksPlugin (GObject.Object, Peas.Activatable):
    object = GObject.property(type=GObject.Object)

    def __init__(self):
        super(SimilarTracksPlugin, self).__init__()

    def do_activate(self):
        self.controller = SimilarTracksController(self)
        self.controller.initialize()

    def do_deactivate(self):
        self.controller.cleanup()
コード例 #3
0
 def do_activate(self):
     self.controller = SimilarTracksController(self)
     self.controller.initialize()
コード例 #4
0
 def do_activate(self):
     self.controller = SimilarTracksController(self)
     self.controller.initialize()