[nautilus] properties-window: split some long lines



commit 64819695a13eb636df535e08e0eed6e896a8821c
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Oct 4 02:55:06 2010 +0200

    properties-window: split some long lines

 src/file-manager/fm-properties-window.c |   40 ++++++++++++++++++++++++------
 1 files changed, 32 insertions(+), 8 deletions(-)
---
diff --git a/src/file-manager/fm-properties-window.c b/src/file-manager/fm-properties-window.c
index 4c3be0d..adc2e7e 100644
--- a/src/file-manager/fm-properties-window.c
+++ b/src/file-manager/fm-properties-window.c
@@ -2592,10 +2592,16 @@ paint_used_legend (GtkWidget *widget,
 			  width - 4,
 			  height - 4);
                       
-	cairo_set_source_rgb (cr, (double) window->details->used_color.red / 65535, (double) window->details->used_color.green / 65535, (double) window->details->used_color.blue / 65535);
+	cairo_set_source_rgb (cr,
+			      (double) window->details->used_color.red / 65535,
+			      (double) window->details->used_color.green / 65535,
+			      (double) window->details->used_color.blue / 65535);
 	cairo_fill_preserve (cr);
 
-	cairo_set_source_rgb (cr, (double) window->details->used_stroke_color.red / 65535, (double) window->details->used_stroke_color.green / 65535, (double) window->details->used_stroke_color.blue / 65535);
+	cairo_set_source_rgb (cr,
+			      (double) window->details->used_stroke_color.red / 65535,
+			      (double) window->details->used_stroke_color.green / 65535,
+			      (double) window->details->used_stroke_color.blue / 65535);
 	cairo_stroke (cr);
 }
 
@@ -2619,10 +2625,16 @@ paint_free_legend (GtkWidget *widget,
 			 width - 4,
 			 height - 4);
 
-	cairo_set_source_rgb (cr, (double) window->details->free_color.red / 65535, (double) window->details->free_color.green / 65535, (double) window->details->free_color.blue / 65535);
+	cairo_set_source_rgb (cr,
+			      (double) window->details->free_color.red / 65535,
+			      (double) window->details->free_color.green / 65535,
+			      (double) window->details->free_color.blue / 65535);
 	cairo_fill_preserve(cr);
 
-	cairo_set_source_rgb (cr, (double) window->details->free_stroke_color.red / 65535, (double) window->details->free_stroke_color.green / 65535, (double) window->details->free_stroke_color.blue / 65535);
+	cairo_set_source_rgb (cr,
+			      (double) window->details->free_stroke_color.red / 65535,
+			      (double) window->details->free_stroke_color.green / 65535,
+			      (double) window->details->free_stroke_color.blue / 65535);
 	cairo_stroke (cr);
 }
 
@@ -2679,10 +2691,16 @@ paint_pie_chart (GtkWidget *widget,
 			cairo_line_to (cr,xc,yc);
 		}
 		
-		cairo_set_source_rgb (cr, (double) window->details->used_color.red / 65535, (double) window->details->used_color.green / 65535, (double) window->details->used_color.blue / 65535);
+		cairo_set_source_rgb (cr,
+				      (double) window->details->used_color.red / 65535,
+				      (double) window->details->used_color.green / 65535,
+				      (double) window->details->used_color.blue / 65535);
 		cairo_fill_preserve (cr);
 		
-		cairo_set_source_rgb (cr, (double) window->details->used_stroke_color.red / 65535, (double) window->details->used_stroke_color.green / 65535, (double) window->details->used_stroke_color.blue / 65535);
+		cairo_set_source_rgb (cr,
+				      (double) window->details->used_stroke_color.red / 65535,
+				      (double) window->details->used_stroke_color.green / 65535,
+				      (double) window->details->used_stroke_color.blue / 65535);
 		cairo_stroke (cr);
 	}
 	
@@ -2697,10 +2715,16 @@ paint_pie_chart (GtkWidget *widget,
 			cairo_line_to (cr,xc,yc);
 		}
 		
-		cairo_set_source_rgb (cr, (double) window->details->free_color.red / 65535, (double) window->details->free_color.green / 65535,(double) window->details->free_color.blue / 65535);
+		cairo_set_source_rgb (cr,
+				      (double) window->details->free_color.red / 65535,
+				      (double) window->details->free_color.green / 65535,
+				      (double) window->details->free_color.blue / 65535);
 		cairo_fill_preserve(cr);
 		
-		cairo_set_source_rgb (cr, (double) window->details->free_stroke_color.red / 65535, (double) window->details->free_stroke_color.green / 65535, (double) window->details->free_stroke_color.blue / 65535);
+		cairo_set_source_rgb (cr,
+				      (double) window->details->free_stroke_color.red / 65535,
+				      (double) window->details->free_stroke_color.green / 65535,
+				      (double) window->details->free_stroke_color.blue / 65535);
 		cairo_stroke (cr);
 	}
 }



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