Re: Weekly Work Summary- Week 8



Nope I didn't, but that would've been easy to remedy. Here's a snippet of the call to listen to the "showing" signal:

    Main.overview.connect('showing', Lang.bind(this, function () {
            this._trayButton.add_style_pseudo_class('grayed');
        }));


On Fri, Jul 15, 2011 at 6:12 PM, Florian Müllner <fmuellner gnome org> wrote:
2011/7/15 Nohemi Fernandez <nohemifdz gmail com>

On that note, if anyone can tell me why “this.button.add_style_pseudo_class('grayed')” doesn't work inside of “Main.overview.connect('hidden'” call, but does work outside of it I'd be much obliged! (I've already checked that a remove_style isn't being called).

Wild guess - did you forget to wrap the callback with Lang.bind()?

Florian



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