/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-02 23:34:55 UTC
  • mto: (450.1.16 trunk)
  • mto: This revision was merged to the branch mainline in revision 458.
  • Revision ID: daniel.schierbeck@gmail.com-20080402233455-4zqd0kyg8y383jd5
Fixed some naming issues.

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
        revid = revision.revision_id
131
131
 
132
132
        if self.repository.has_signature_for_revision_id(revid):
133
 
            signature_text = self.repository.get_signature_text(revid)
134
 
            self.show_signature(signature_text)
 
133
            crypttext = self.repository.get_signature_text(revid)
 
134
            self.show_signature(crypttext)
135
135
        else:
136
136
            self.show_no_signature()
137
137
 
149
149
        self.signature_label.set_markup("<b>Authenticity unknown</b>\n" +
150
150
                                        "This revision has not been signed.")
151
151
 
152
 
    def show_signature(self, seahorsetext):
153
 
        key = seahorse.verify(seahorsetext)
 
152
    def show_signature(self, crypttext):
 
153
        key = seahorse.verify(crypttext)
154
154
 
155
155
        if key.is_available():
156
156
            if key.is_trusted():