Add pulse style class and use in progress bar and entry

This is used for indeterminate progress reporting.
This commit is contained in:
Alexander Larsson
2011-11-18 10:15:04 +01:00
parent 68c74e1427
commit ca829b484c
3 changed files with 14 additions and 0 deletions

View File

@ -760,6 +760,7 @@ gtk_progress_bar_paint_activity (GtkProgressBar *pbar,
gtk_style_context_save (context);
gtk_style_context_add_class (context, GTK_STYLE_CLASS_PROGRESSBAR);
gtk_style_context_add_class (context, GTK_STYLE_CLASS_PULSE);
gtk_render_activity (context, cr, area.x, area.y, area.width, area.height);