/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to revisionview.py

  • Committer: Daniel Schierbeck
  • Date: 2008-04-03 20:20:39 UTC
  • mto: (450.1.18 trunk)
  • mto: This revision was merged to the branch mainline in revision 458.
  • Revision ID: daniel.schierbeck@gmail.com-20080403202039-22d9vdjo5eoum8q1
Made the signature checking code not try to discover the signature key.

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
    def show_signature(self, crypttext):
152
152
        key = seahorse.verify(crypttext)
153
153
 
154
 
        if key.is_available():
 
154
        if key and key.is_available():
155
155
            if key.is_trusted():
156
156
                if key.get_display_name() == self.revision.committer:
157
157
                    self.signature_image.set_from_file(icon_path("sign-ok.png"))