On 7 June 2012 11:46, Jasper St. Pierre <jstpie...@mecheye.net> wrote:
> On Wed, Jun 6, 2012 at 9:36 PM, Amy C <mathematical.cof...@gmail.com> wrote:
>> When I load the extension, my popup menu item is the default
>> background/text color that is used for all the other menu items,
>> instead of red text and green background.
>>
>> If I instead do:
>>
>> dummy.set_style('color: #ff0000; background-color: #00ff00');
>>
>> it works.
>
> It shouldn't. You're trying to call set_style on something that is not
> a StWidget. Maybe you wrote:
>
> dummy.actor.set_style('color: #ff0000; background-color: #00ff00');
>
> instead? Make sure that that .actor exists.
>
Sorry, I did mean dummy.actor_set_style and
dummy.actor.add_style_class_name. My problem remains - the style
doesn't get applied unless I use .set_style directly or add my style
class into /usr/share/gnome-shell/theme/gnome-shell.css. Adding to
stylesheet.css doesn't work.
_______________________________________________
gnome-shell-list mailing list
gnome-shell-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-shell-list