[gnome-color-manager/gnome-3-6] Better initial orientation for the Lab hull



commit 03a8df9e3a648deae966c9a12c0a153c09c46664
Author: Pascal de Bruijn <pmjdebruijn pcode nl>
Date:   Tue Dec 25 23:42:51 2012 +0100

    Better initial orientation for the Lab hull
    
    Signed-off-by: Richard Hughes <richard hughsie com>

 src/gcm-hull-widget.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gcm-hull-widget.c b/src/gcm-hull-widget.c
index 5055cc7..47b966d 100644
--- a/src/gcm-hull-widget.c
+++ b/src/gcm-hull-widget.c
@@ -329,6 +329,8 @@ gcm_hull_widget_init (GcmHullWidget *hull_widget)
 			  G_CALLBACK (gcm_hull_widget_stage_allocation_changed_cb),
 			  hull_widget);
 
+	hull_widget->priv->existing_rotation = 270.0f;
+
 	/* allow user to rotate */
 	gtk_widget_add_events (GTK_WIDGET (hull_widget),
 			       GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK |



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]