Example #1
0
 def show_plugin(self):
     name = settings.get_screensaver_name()
     path = utils.lookup_plugin_path(name)
     if path is not None:
         self.spawn_plugin(path)
         trackers.con_tracker_get().connect(self.socket, "plug-added",
                                            self.on_plug_added)
 def show_plugin(self):
     name = settings.get_screensaver_name()
     path = utils.lookup_plugin_path(name)
     if path is not None:
         self.spawn_plugin(path)
         trackers.con_tracker_get().connect(self.socket,
                                            "plug-added",
                                            self.on_plug_added)
Example #3
0
 def show_plugin(self):
     """
     Attempt to retreive the current plug-in info and spawn
     a script to instantiate it.
     """
     name = settings.get_screensaver_name()
     path = utils.lookup_plugin_path(name)
     if path is not None:
         self.spawn_plugin(path)
         trackers.con_tracker_get().connect(self.socket, "plug-added",
                                            self.on_plug_added)
 def show_plugin(self):
     """
     Attempt to retreive the current plug-in info and spawn
     a script to instantiate it.
     """
     name = settings.get_screensaver_name()
     path = utils.lookup_plugin_path(name)
     if path is not None:
         self.spawn_plugin(path)
         trackers.con_tracker_get().connect(self.socket,
                                            "plug-added",
                                            self.on_plug_added)
    def show_plugin(self):
        """
        Attempt to retreive the current plug-in info and spawn
        a script to instantiate it.
        """

        if status.Debug:
            print("monitorView: show plugin")

        name = settings.get_screensaver_name()
        path = utils.lookup_plugin_path(name)
        if path is not None:
            self.spawn_plugin(path)