diff options
Diffstat (limited to 'mesongui.py')
-rwxr-xr-x | mesongui.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mesongui.py b/mesongui.py index d998624..4983965 100755 --- a/mesongui.py +++ b/mesongui.py @@ -254,6 +254,8 @@ class MesonGui(): self.ui.compile_button.clicked.connect(self.compile) self.ui.test_button.clicked.connect(self.run_tests) self.ui.install_button.clicked.connect(self.install) + self.ui.clean_button.clicked.connect(self.clean) + self.ui.save_button.clicked.connect(self.save) self.ui.show() def fill_data(self): @@ -278,6 +280,12 @@ class MesonGui(): def install(self, foo): self.run_process(['install']) + + def clean(self, foo): + self.run_process(['clean']) + + def save(self, foo): + pickle.dump(self.coredata, open(self.coredata_file, 'wb')) if __name__ == '__main__': app = QApplication(sys.argv) |