|
@@ -114,8 +114,10 @@ class Gui:
|
|
|
return
|
|
|
if self.__is_selected(self.var_apt_clean):
|
|
|
self.dbus_interface.clean_apt_cache()
|
|
|
+ self.__done_message_box()
|
|
|
if self.__is_selected(self.var_clean_log):
|
|
|
self.dbus_interface.clean_logs()
|
|
|
+ self.__done_message_box()
|
|
|
if self.__is_selected(self.var_remove_firefox_cache):
|
|
|
os.system("rm ~/.mozilla/firefox/*.default*/*.sqlite ~/.mozilla/firefox/*default*/sessionstore.js")
|
|
|
os.system("rm -r ~/.cache/mozilla/firefox/*.default*/*")
|
|
@@ -124,7 +126,8 @@ class Gui:
|
|
|
os.system("rm -rf ~/.cache/thumbnails/*")
|
|
|
self.__done_message_box()
|
|
|
if self.__is_selected(self.var_remove_unused_packages):
|
|
|
- self.dbus_interface.remove_unused_packages()
|
|
|
+ self.dbus_interface.remove_unused_packages()
|
|
|
+ self.__done_message_box()
|
|
|
def __init_dbus(self):
|
|
|
timeout = 60
|
|
|
flags = 0
|