Don't try to keep state in a cell renderer between two paint calls. It
* gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_pulse):
Don't try to keep state in a cell renderer between two paint
calls. It doesn't work. Patch by Kristian Mueller
svn path=/trunk/; revision=21890
This commit is contained in:
@ -1,3 +1,12 @@
|
|||||||
|
2008-12-13 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
Bug 563158 – CellRendererProgress pulsing and progressing rows can
|
||||||
|
not be used together
|
||||||
|
|
||||||
|
* gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_pulse):
|
||||||
|
Don't try to keep state in a cell renderer between two paint
|
||||||
|
calls. It doesn't work. Patch by Kristian Mueller
|
||||||
|
|
||||||
2008-12-13 Matthias Clasen <mclasen@redhat.com>
|
2008-12-13 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
Bug 555560 – gtk_combo_box_set_active fails with no model
|
Bug 555560 – gtk_combo_box_set_active fails with no model
|
||||||
|
|||||||
@ -396,10 +396,10 @@ gtk_cell_renderer_progress_set_pulse (GtkCellRendererProgress *cellprogress,
|
|||||||
|
|
||||||
if (pulse != priv->pulse)
|
if (pulse != priv->pulse)
|
||||||
{
|
{
|
||||||
if (priv->pulse <= 0)
|
if (pulse <= 0)
|
||||||
priv->offset = 0;
|
priv->offset = 0;
|
||||||
else
|
else
|
||||||
priv->offset++;
|
priv->offset = pulse;
|
||||||
}
|
}
|
||||||
|
|
||||||
priv->pulse = pulse;
|
priv->pulse = pulse;
|
||||||
|
|||||||
Reference in New Issue
Block a user