Merge lp:~brunonova/ubuntu/precise/software-properties/lp1075537 into lp:ubuntu/precise-proposed/software-properties

Proposed by Bruno Nova
Status: Merged
Merged at revision: 94
Proposed branch: lp:~brunonova/ubuntu/precise/software-properties/lp1075537
Merge into: lp:ubuntu/precise-proposed/software-properties
Diff against target: 19 lines (+2/-0)
1 file modified
softwareproperties/gtk/SoftwarePropertiesGtk.py (+2/-0)
To merge this branch: bzr merge lp:~brunonova/ubuntu/precise/software-properties/lp1075537
Reviewer Review Type Date Requested Status
Brian Murray Pending
Review via email: mp+198133@code.launchpad.net

Description of the change

Fix for bug LP: #1075537 (which was fixed in Saucy) "backported" to Precise.

I tested this quickly in Virtualbox, and it seems to be working (the fix is trivial).

To test it, just run the fixed version of software-properties-gtk, change something in the software sources (the "Revert" button should become enabled), and close.
A dialog allowing the apt cache to be refreshed should appear.

I didn't change the changelogs or anything else in debian/*.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'softwareproperties/gtk/SoftwarePropertiesGtk.py'
--- softwareproperties/gtk/SoftwarePropertiesGtk.py 2012-07-18 09:28:10 +0000
+++ softwareproperties/gtk/SoftwarePropertiesGtk.py 2013-12-06 22:50:38 +0000
@@ -747,6 +747,7 @@
747 """The config was changed and now needs to be saved and reloaded"""747 """The config was changed and now needs to be saved and reloaded"""
748 apt.apt_pkg.init_config()748 apt.apt_pkg.init_config()
749 self.button_revert.set_sensitive(True)749 self.button_revert.set_sensitive(True)
750 self.modified_sourceslist = True
750751
751 def on_keys_modified(self):752 def on_keys_modified(self):
752 """ The apt keys have changed and need to be redisplayed """753 """ The apt keys have changed and need to be redisplayed """
@@ -759,6 +760,7 @@
759 self.show_isv_sources()760 self.show_isv_sources()
760 self.show_cdrom_sources()761 self.show_cdrom_sources()
761 self.button_revert.set_sensitive(True)762 self.button_revert.set_sensitive(True)
763 self.modified_sourceslist = True
762764
763 def on_auth_failed(self):765 def on_auth_failed(self):
764 """ send when the authentication failed """766 """ send when the authentication failed """

Subscribers

People subscribed via source and target branches

to all changes: