/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: Scott Scriven
  • Date: 2008-07-10 06:23:54 UTC
  • mto: This revision was merged to the branch mainline in revision 549.
  • Revision ID: ubuntu@toykeeper.net-20080710062354-tfrqs1jflq2alkv1
The 'vis' treeview was updating twice per cursor motion.  Fixed.
(this makes the diff panel less slow)
The root cause might be a bug in pygtk.  The TreeView widget was 
emitting 'cursor-changed' twice instead of once, so this patch works 
around the issue by using only the first event per cursor position.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        if key not in keyset:
86
86
            keyset[key] = Key(key)
87
87
 
88
 
        return keyset[key]
 
88
        return (cleartext, keyset[key])
 
89
 
 
90
    return (cleartext, None)
 
91
 
89
92
 
90
93
class Key:
91
94