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 <[email protected]>wrote:

> 2011/7/15 Nohemi Fernandez <[email protected]>
>>
>>  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
>
_______________________________________________
gnome-shell-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-shell-list

Reply via email to