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