[gtk+] theme: Make spinner animation turn clockwise
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] theme: Make spinner animation turn clockwise
- Date: Sat, 5 Mar 2011 14:04:43 +0000 (UTC)
commit 9b8fbe5b7256f89ccadbf716f691142ca4aa491f
Author: Benjamin Otte <otte redhat com>
Date: Sat Mar 5 14:59:25 2011 +0100
theme: Make spinner animation turn clockwise
gtk/gtkthemingengine.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c
index 8eb5556..b6a0795 100644
--- a/gtk/gtkthemingengine.c
+++ b/gtk/gtkthemingengine.c
@@ -3005,7 +3005,7 @@ gtk_theming_engine_render_activity (GtkThemingEngine *engine,
/* transparency is a function of time and intial value */
gdouble t = 1.0 - (gdouble) ((i + step) % num_steps) / num_steps;
gdouble xscale = cos (i * G_PI / half);
- gdouble yscale = sin (i * G_PI / half);
+ gdouble yscale = - sin (i * G_PI / half);
cairo_set_source_rgba (cr,
color->red,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]