Exemplo n.º 1
0
    def __init__(self, applet):
        OdsManager.__init__(self)
        self.Applet = applet
        try:
            self.status_icon = self.Applet.Plugins.StatusIcon
        except:
            self.status_icon = None

        self.GHandle("server-created", self.on_server_created)
        self.Config = Config("org.blueman.transfer")

        self.create_server("opp")
        self.create_server("ftp")

        self.allowed_devices = []
Exemplo n.º 2
0
    def __init__(self, applet):
        OdsManager.__init__(self)
        self.Applet = applet
        try:
            self.status_icon = self.Applet.Plugins.StatusIcon
        except:
            self.status_icon = None

        self.GHandle("server-created", self.on_server_created)
        self.Config = Config("transfer")

        #check options
        if self.Config.props.opp_enabled == None:
            self.Config.props.opp_enabled = True

        if self.Config.props.ftp_enabled == None:
            self.Config.props.ftp_enabled = True

        self.create_server("opp")
        self.create_server("ftp")

        self.allowed_devices = []
Exemplo n.º 3
0
    def __init__(self, applet):
        OdsManager.__init__(self)
        self.Applet = applet
        try:
            self.status_icon = self.Applet.Plugins.StatusIcon
        except:
            self.status_icon = None

        self.GHandle("server-created", self.on_server_created)
        self.Config = Config("transfer")

        #check options
        if self.Config.props.opp_enabled == None:
            self.Config.props.opp_enabled = True

        if self.Config.props.ftp_enabled == None:
            self.Config.props.ftp_enabled = True

        self.create_server("opp")
        self.create_server("ftp")

        self.allowed_devices = []