/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: Jelmer Vernooij
  • Date: 2008-03-31 21:59:11 UTC
  • mto: (450.1.11 trunk)
  • mto: This revision was merged to the branch mainline in revision 458.
  • Revision ID: jelmer@samba.org-20080331215911-lt2yxlxqdkakejyu
Hide signature tab if gpg binary wasn't found.

Show diffs side-by-side

added added

removed removed

Lines of Context:
376
376
    def _create_signature(self):
377
377
        try:
378
378
            self.signature_table = SignatureTab()
379
 
        except ImportError: # No GPG module installed
 
379
        except ValueError: # No GPG found
380
380
            self.signature_table = None
381
381
            return
382
382
        self.append_page(self.signature_table, tab_label=gtk.Label('Signature'))