~skqr/scribes/skqr-0.4

« back to all changes in this revision

Viewing changes to plugins/QuickOpen/GUI/TreeView/ShortcutHandler.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:
1
1
class Handler(object):
2
2
 
3
3
        def __init__(self, manager, editor):
 
4
                editor.response()
4
5
                self.__init_attributes(manager, editor)
5
6
                self.__add_signals()
6
7
                self.__add_bindings()
7
8
                self.__sigid1 = manager.connect("destroy", self.__destroy_cb)
8
9
                self.__sigid2 = self.__view.connect("enter-press", self.__enter_cb)
9
10
                self.__sigid3 = self.__view.connect("up-press", self.__up_cb)
 
11
                editor.response()
10
12
 
11
13
        def __init_attributes(self, manager, editor):
12
14
                self.__editor = editor