~ubuntu-branches/debian/experimental/spyder/experimental

« back to all changes in this revision

Viewing changes to spyderlib/widgets/outlineexplorer.py

  • Committer: Package Import Robot
  • Author(s): Picca Frédéric-Emmanuel
  • Date: 2013-01-20 12:19:54 UTC
  • mfrom: (1.1.16)
  • Revision ID: package-import@ubuntu.com-20130120121954-1jt1xa924bshhvh0
Tags: 2.2.0~beta1+dfsg-2
fix typo ipython-qtconsol -> ipython-qtconsole

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
# Local imports
26
26
from spyderlib.baseconfig import _
27
 
from spyderlib.config import get_icon
 
27
from spyderlib.guiconfig import get_icon
28
28
from spyderlib.widgets.onecolumntree import OneColumnTree
29
29
from spyderlib.utils.classparser import get_classes
30
30
 
65
65
        return (self.fname, self.classes, self.lines)
66
66
 
67
67
    def activated(self, item):
68
 
        """Double-click or click event"""
 
68
        """Double-click event"""
69
69
        self.emit(SIGNAL('go_to_line(int)'), self.lines[item])
 
70
 
 
71
    def clicked(self, item):
 
72
        """Click event"""
 
73
        self.activated(item)
70
74
        
71
75
    def populate_classes(self):
72
76
        """Populate classes"""