]> Pileus Git - ~andy/gtk/commit
Move activity bar offset and size calculations to separate function.
authorTim Janik <timj@imendio.com>
Fri, 16 Jun 2006 09:51:39 +0000 (09:51 +0000)
committerTim Janik <timj@src.gnome.org>
Fri, 16 Jun 2006 09:51:39 +0000 (09:51 +0000)
commitde15bb09c36aade4dafb323b8328e70b8deca767
tree02fa2eebce9ab6b6da926d30ddf99b1e98d0715a
parent0f0e499c12c77b246de20a649cfe4c30810dc765
Move activity bar offset and size calculations to separate function.

Fri Jun 16 11:49:53 2006  Tim Janik  <timj@imendio.com>

        * fixed #337882 by applying patches from Tommi Komulainen:

        * gtk/gtkprogressbar.c:
        (gtk_progress_bar_paint_activity):
        (gtk_progress_bar_get_activity): Move activity bar offset and size
        calculations to separate function.
        (gtk_progress_bar_paint_text): Allow caller to specify offset for the
        prelight part in addition to width.
        (gtk_progress_bar_paint): Paint the text also in activity mode, #337882.

        * gtk/gtkprogressbar.c: (gtk_progress_bar_paint_text): Paint the
        prelighted text on top of the normal rather than side by side, to
        simplify painting text in activity mode.
ChangeLog
ChangeLog.pre-2-10
gtk/gtkprogressbar.c