From 67389517a2f4c58ee03b3ba6ee540df4f8f073f7 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 27 Feb 2006 19:27:51 +0100 Subject: * fix the setting of the SoftwareProperties.modified flag (important for the calling apps like synaptic ) --- SoftwareProperties/SoftwareProperties.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SoftwareProperties/SoftwareProperties.py b/SoftwareProperties/SoftwareProperties.py index 0e892182..d3fef36a 100644 --- a/SoftwareProperties/SoftwareProperties.py +++ b/SoftwareProperties/SoftwareProperties.py @@ -288,12 +288,14 @@ class SoftwareProperties(SimpleGladeApp): self.sourceslist.refresh() self.reload_sourceslist() self.button_revert.set_sensitive(False) + self.modified = False def modified_sourceslist(self): """The sources list was changed and now needs to be saved and reloaded""" self.button_revert.set_sensitive(True) self.save_sourceslist() self.reload_sourceslist() + self.modified = True def render_source(self, source): """Render a nice output to show the source in a treeview""" -- cgit v1.2.3