Esempio n. 1
0
    def bapply(s, x=None):
        global restartplanet

        for x, n in zip(feeds, range(len(feeds))):
            if s.boxes[n].IsChecked():
                x[2] = True
            else:
                x[2] = False
        rssplanet.feeds = feeds
        if restartplanet:
            rssplanet.launch_xplanet()
            restartplanet = False
        s.run_rssplanet()
Esempio n. 2
0
    def bapply(s, x = None):
    	global restartplanet

	for x, n in zip(feeds, range(len(feeds))):
		if s.boxes[n].IsChecked():
			x[2] = True
		else:
			x[2] = False
	rssplanet.feeds = feeds
	if restartplanet:
		rssplanet.launch_xplanet()
		restartplanet = False
	s.run_rssplanet()
Esempio n. 3
0
 def change_mode(s, x=None):
     c = s.modemenu.GetSelection()
     if not c: rssplanet.start_xplanet = True
     else: rssplanet.start_xplanet = False
     rssplanet.launch_xplanet()
Esempio n. 4
0
    def change_mode(s, x = None):
    	c = s.modemenu.GetSelection()
	if not c: rssplanet.start_xplanet = True
	else: rssplanet.start_xplanet = False
	rssplanet.launch_xplanet()