Comment 33 for bug 828850

Revision history for this message
Edward Donovan (edward.donovan) wrote :

Thoughts in progress, not quite a patch, yet -

I think we want to catch the exception with a try statement in SoftwarePropertiesGtk.py, but I don't know yet where is the sensible place to put it. The exception catching could be like this, using an error dialog function already defined there:

except PermissionDeniedByPolicy:
    error(self.window_main,
          "Authorization failed.",
          "Software sources can't be changed without permission.")