/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 seahorse.py

  • Committer: Elliot Murphy
  • Date: 2008-06-04 20:36:54 UTC
  • mto: This revision was merged to the branch mainline in revision 501.
  • Revision ID: elliot@elliotmurphy.com-20080604203654-21e327jxe5cs7zgx
Trying to fix bug 107169 so that visualize can be used even if there are DBus problems which prevent seahorse from being loaded

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
KEY_TYPE_OPENPGP = 'openpgp'
29
29
KEY_TYPE_SSH = 'ssh'
30
30
 
31
 
bus = dbus.SessionBus()
 
31
try:
 
32
    bus = dbus.SessionBus()
 
33
except dbus.exceptions.DBusException, e:
 
34
    raise ImportError
32
35
 
33
36
try: 
34
37
    crypto = dbus.Interface(bus.get_object(BUS_NAME, CRYPTO_PATH),