예제 #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()
예제 #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()
예제 #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()
예제 #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()