Hi all.<br><br>I have been investigating the following piece of code, from "src/jarabe/journal/listview.py" ::<br><br>####################################################################################<br>    def __favorite_set_data_cb(self, column, cell, tree_model, tree_iter):<br>
        favorite = tree_model[tree_iter][ListModel.COLUMN_FAVORITE]<br><br>        if favorite:<br>            client = gconf.client_get_default()<br>            color = XoColor(client.get_string('/desktop/sugar/user/color'))<br>
            cell.props.xo_color = color<br>        else:<br>            cell.props.xo_color = None<br>####################################################################################<br><br><br><br>This piece of code works as expected, and the toggling-UI-effect takes place as soon as the star/favorite-icon is clicked (that is, the mouse-pointer need not be hovered away).<br>
But note that, there is listview-refresh involved after each toggling of the star/favorite-icon.<br><br>If the listview-refresh is inhibited, the toggling-UI-effect does take place, but ONLY AFTER the mouse-pointer is hovered away from the star/favorite-icon.<br>
This becomes all the more important, since the listview-refresh is inhibited in multi-select mode (as part of the feature being proposed/discussed at <a href="http://lists.sugarlabs.org/archive/sugar-devel/2012-July/038558.html">http://lists.sugarlabs.org/archive/sugar-devel/2012-July/038558.html</a>).<br>
<br>The same observations stand true, for the checkbox icon (as part of multi-select feature).<br><br><br>So,<br><br><i>      Is it feasible to have the toggling-UI-effect takes place, without the need for hovering the mouse-pointer away from the star/favorite-icon, when listview-refresh is inhibited?</i><br>
<br><br><br>I will be grateful for any ideas.<br><br><br><br>Thanks and Regards,<br>Ajay<br><br>