Can not change background property of edit element immediately after reset

2 views
Skip to first unread message

mason

unread,
Jun 1, 2010, 12:19:01 PM6/1/10
to google-gadgets-for-linux-user
Dear developers,

I wrote a simple gadget to test the properties of edit element defined
in gadget api. The gadget changes the background property by clicking
at a button, but the background does not change until i modify the
text in the edit element.

Then i looked into the code in gadget library and found that the first
parameter in QueueRefresh() function called in SetBackground() is
false, thus the background color will not be changed because the
content_modified_ flag is false.

And the background is changed immediately if i modify the parameter to
true.

I'm not sure if this is an issue or not.
Please check this. Thanks.

James Su

unread,
Jun 13, 2010, 3:48:20 PM6/13/10
to google-gadgets-for-linux-user
It sounds like an issue. I'll look into it asap.
Reply all
Reply to author
Forward
0 new messages