Signals problem



Hello all, yet again me being noisy probably asking stupid questions.
I've got problems connecting signals, got this:
         this.actor.connect("enter-event", Lang.bind(this, this._onAppletEnterEvent));
Yet it tells me that the second argument must be a function, but it's defined as:
   _onAppletEnterEvent: function() {
      if(this.currentWindow)
         this.indicatorDbus.updateMenuForWindow(this.currentWindow);
      if((this.menu)&&(this.menu.isInFloatingState())&&(this.openOnHover))
         this.menu.open(true);
   },
In the main body of the class..
What am I doing wrong?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]