diff options
Diffstat (limited to 'src/frontend/main.py')
-rw-r--r-- | src/frontend/main.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/frontend/main.py b/src/frontend/main.py index 2c1e63a..1f1102e 100644 --- a/src/frontend/main.py +++ b/src/frontend/main.py @@ -193,7 +193,9 @@ class MainWindow(gtk.Window): self.showApplyDiffButton() def applyDiffPressed(self, button, data=None): - pass + diffFiles = [self.currentConfigFilePath, augeas_utils.getDiffLocation(self.a, self.currentConfigFilePath)] + #merge diffFiles[0] <- diffFiles[1] + shutil.copyfile(diffFiles[1], diffFiles[0]) def showRCUpdate(self, button, data=None): win = RcUpdateWindow.RcUpdateWindow() |