~skqr/scribes/skqr-0.4

« back to all changes in this revision

Viewing changes to plugins/PluginGotoBar.py

  • Committer: Javier Lorenzana
  • Date: 2010-07-16 17:13:23 UTC
  • mfrom: (463.1.114 scribes)
  • Revision ID: jax@hephaestusx-20100716171323-y8i548p4ux92zd0n
Upstream changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
class GotoBarPlugin(object):
10
10
 
11
11
        def __init__(self, editor):
 
12
                editor.response()
12
13
                self.__editor = editor
13
14
                self.__trigger = None
 
15
                editor.response()
14
16
 
15
17
        def load(self):
 
18
                self.__editor.response()
16
19
                from GotoBar.Trigger import Trigger
17
20
                self.__trigger = Trigger(self.__editor)
 
21
                self.__editor.response()
18
22
                return
19
23
 
20
24
        def unload(self):
 
25
                self.__editor.response()
21
26
                self.__trigger.destroy()
 
27
                self.__editor.response()
22
28
                return