Bug 563158 – CellRendererProgress pulsing and progressing rows can not
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 svn path=/branches/gtk-2-14/; revision=21891
This commit is contained in:
committed by
Matthias Clasen
parent
0efafccca2
commit
3313fffcbb
11
ChangeLog
11
ChangeLog
@@ -1,3 +1,14 @@
|
||||
2008-12-13 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Merged from trunk:
|
||||
|
||||
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>
|
||||
|
||||
Merged from trunk:
|
||||
|
||||
@@ -397,10 +397,10 @@ gtk_cell_renderer_progress_set_pulse (GtkCellRendererProgress *cellprogress,
|
||||
|
||||
if (pulse != priv->pulse)
|
||||
{
|
||||
if (priv->pulse <= 0)
|
||||
if (pulse <= 0)
|
||||
priv->offset = 0;
|
||||
else
|
||||
priv->offset++;
|
||||
priv->offset = pulse;
|
||||
}
|
||||
|
||||
priv->pulse = pulse;
|
||||
|
||||
Reference in New Issue
Block a user