示例#1
0
 def StopDaemon(self):
     try:
         self.t.release()
     except:
         pass
     common.rm_pid_file()
     mainloop.quit()
示例#2
0
	def StopDaemon(self):
		try:
			self.t.release()
		except:
			pass
		common.rm_pid_file()
		mainloop.quit()
示例#3
0
def handle_updates(updates):
    common.rm_pid_file()
    transaction.StopDaemon()
    loop.quit()
示例#4
0
def handle_error(error):
    transaction.StopDaemon()
    common.rm_pid_file()
    print('check updates failed')
    loop.quit()
示例#5
0
def on_Updater_CloseButton_clicked(*args):
	transaction.StopDaemon()
	common.rm_pid_file()
	Gtk.main_quit()
示例#6
0
def on_UpdaterWindow_delete_event(*args):
	transaction.StopDaemon()
	common.rm_pid_file()
	Gtk.main_quit()
示例#7
0
def on_ManagerWindow_delete_event(*args):
    transaction.StopDaemon()
    common.rm_pid_file()
    Gtk.main_quit()
示例#8
0
def on_Updater_CloseButton_clicked(*args):
    transaction.StopDaemon()
    common.rm_pid_file()
    Gtk.main_quit()
示例#9
0
def handle_updates(updates):
	common.rm_pid_file()
	transaction.StopDaemon()
	loop.quit()
示例#10
0
def handle_error(error):
	transaction.StopDaemon()
	common.rm_pid_file()
	print('check updates failed')
	loop.quit()
示例#11
0
 def on_Updater_QuitButton_clicked(self, *arg):
     transaction.StopDaemon()
     common.rm_pid_file()
     Gtk.main_quit()
示例#12
0
 def on_ManagerWindow_delete_event(self, *arg):
     transaction.StopDaemon()
     common.rm_pid_file()
     Gtk.main_quit()