diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-02-27 19:27:51 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-02-27 19:27:51 +0100 |
| commit | 67389517a2f4c58ee03b3ba6ee540df4f8f073f7 (patch) | |
| tree | 0b50f5660d47ca2eff03ab6e7962ae9f7613bcf7 /SoftwareProperties | |
| parent | 4a1c03022c92d3c477c333c1592c888cf216b19d (diff) | |
| download | python-apt-67389517a2f4c58ee03b3ba6ee540df4f8f073f7.tar.gz | |
* fix the setting of the SoftwareProperties.modified flag (important for the calling apps like synaptic )
Diffstat (limited to 'SoftwareProperties')
| -rw-r--r-- | SoftwareProperties/SoftwareProperties.py | 2 |
1 files changed, 2 insertions, 0 deletions
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""" |
