Esempio n. 1
0
	def exit(self):
		if self.close_all():
			self.update_config()
			config.save(self.appdata.app_config)
			gtk.main_quit()
			return True
		return False
Esempio n. 2
0
 def exit(self):
     if self.close_all():
         self.update_config()
         config.save(self.appdata.app_config)
         gtk.main_quit()
         return True
     return False
Esempio n. 3
0
	def _threaded_check(self):
		try:
			import urllib
			urllib.time
			file = urllib.urlopen('http://sk1project.org/release_markers/lincutter/version.txt')
			actual_version = file.readline().strip()
			file.close()
			config.actual_version = actual_version
			config.save(self.appdata.app_config)
		except:
			pass
Esempio n. 4
0
 def _threaded_check(self):
     try:
         import urllib
         urllib.time
         file = urllib.urlopen(
             'http://sk1project.org/release_markers/lincutter/version.txt')
         actual_version = file.readline().strip()
         file.close()
         config.actual_version = actual_version
         config.save(self.appdata.app_config)
     except:
         pass