~sil2100/ubuntu-release-upgrader/fix-update-manager-quirk

« back to all changes in this revision

Viewing changes to UpdateManager/UpdateManager.py

  • Committer: Michael Vogt
  • Date: 2011-04-04 08:35:59 UTC
  • Revision ID: michael.vogt@ubuntu.com-20110404083559-7usgqbncrtmp9k35
add tests around the distro end of life handling

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
                            label=_("Upgrade information"))
118
118
    button.show()
119
119
    dialog.get_content_area().pack_end(button)
 
120
    # this data used in the test to get the dialog
 
121
    if parent:
 
122
        parent.set_data("no-longer-supported-nag", dialog)
120
123
    dialog.run()
121
124
    dialog.destroy()
 
125
    if parent:
 
126
        parent.set_data("no-longer-supported-nag", None)
122
127
 
123
128
 
124
129
class UpdateManagerDbusController(dbus.service.Object):