def __init__(self):

        self.account = {} # account to which the user subscribed
        self.config = {} # user configuration
        self.flag = None # used to check current status (especially with dialogs)
        self.path = sys.argv[3][0:-10] # relative path to config file's folder
        self.subpath = self.path+'../../../.Gmail_subscription' # file containing Gmail account details
        self.svgpath = self.path+'emblem.svg' # SVG emblem file
        self.wav = os.path.abspath("./snd/pop.wav")
        self.rep = False # used not to run more than one loop
        CDApplet.__init__(self)
    def __init__(self):

        self.account = {}  # account to which the user subscribed
        self.config = {}  # user configuration
        self.flag = None  # used to check current status (especially with dialogs)
        self.path = sys.argv[3][0:-10]  # relative path to config file's folder
        self.subpath = self.path + '../../../.Gmail_subscription'  # file containing Gmail account details
        self.svgpath = self.path + 'emblem.svg'  # SVG emblem file
        self.wav = os.path.abspath("./snd/pop.wav")
        self.rep = False  # used not to run more than one loop
        CDApplet.__init__(self)
Exemple #3
0
 def __init__(self): 
     # define internal variables 
     self.count = 0 
     # call high-level init 
     CDApplet.__init__(self) 
	def __init__(self):
		# call high-level init
		self.app_folder = os.path.abspath(".")
		CDApplet.__init__(self)
Exemple #5
0
 def __init__(self):
     # call high-level init
     self.app_folder = os.path.abspath(".")
     CDApplet.__init__(self)