[hyena/gtk3] [gtk3] cosmetic



commit e9f099739f46fc5dacfaf58120133b0b410304c0
Author: Olivier Dufour <olivier duff gmail com>
Date:   Tue May 3 18:51:03 2011 +0200

    [gtk3] cosmetic

 .../Hyena.Data.Gui/ListView/ListView_Header.cs     |    8 ++++----
 Hyena.Gui/Hyena.Gui.Theming/GtkTheme.cs            |    6 +++---
 Hyena.Gui/Hyena.Widgets/MessageBar.cs              |    2 +-
 Hyena.Gui/Hyena.Widgets/PulsingButton.cs           |    4 ++--
 Hyena.Gui/Hyena.Widgets/SegmentedBar.cs            |    4 ++--
 5 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs b/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs
index a1d1006..1a85b7e 100644
--- a/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs
+++ b/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs
@@ -582,8 +582,8 @@ namespace Hyena.Data.Gui
             protected override void OnStyleUpdated ()
             {
                 base.OnStyleUpdated ();
-				Gdk.RGBA rgba;
-				StyleContext.GetColor (StateFlags.Selected, rgba);
+                Gdk.RGBA rgba;
+                StyleContext.GetColor (StateFlags.Selected, rgba);
                 label.OverrideColor (StateFlags.Prelight, rgba);
             }
 
@@ -621,8 +621,8 @@ namespace Hyena.Data.Gui
             protected override void OnStyleUpdated ()
             {
                 base.OnStyleUpdated ();
-				Gdk.RGBA rgba;
-				StyleContext.GetColor (StateFlags.Selected, rgba);
+                Gdk.RGBA rgba;
+                StyleContext.GetColor (StateFlags.Selected, rgba);
                 label.OverrideColor (StateFlags.Prelight, rgba);
             }
 
diff --git a/Hyena.Gui/Hyena.Gui.Theming/GtkTheme.cs b/Hyena.Gui/Hyena.Gui.Theming/GtkTheme.cs
index 99f0050..21567f3 100644
--- a/Hyena.Gui/Hyena.Gui.Theming/GtkTheme.cs
+++ b/Hyena.Gui/Hyena.Gui.Theming/GtkTheme.cs
@@ -43,10 +43,10 @@ namespace Hyena.Gui.Theming
 
         public static Cairo.Color GetCairoTextMidColor (Widget widget)
         {
-			Gdk.RGBA color;
-			widget.StyleContext.GetColor (StateFlags.Normal, color);
+            Gdk.RGBA color;
+            widget.StyleContext.GetColor (StateFlags.Normal, color);
             Cairo.Color text_color = new Cairo.Color (color.Red, color.Green, color.Blue, color.Alpha);
-			color = widget.StyleContext.GetBackgroundColor (StateFlags.Normal);
+            color = widget.StyleContext.GetBackgroundColor (StateFlags.Normal);
             Cairo.Color background_color = new Cairo.Color (color.Red, color.Green, color.Blue, color.Alpha);
             return CairoExtensions.AlphaBlend (text_color, background_color, 0.5);
         }
diff --git a/Hyena.Gui/Hyena.Widgets/MessageBar.cs b/Hyena.Gui/Hyena.Widgets/MessageBar.cs
index 569ecbb..40a2121 100644
--- a/Hyena.Gui/Hyena.Widgets/MessageBar.cs
+++ b/Hyena.Gui/Hyena.Widgets/MessageBar.cs
@@ -132,7 +132,7 @@ namespace Hyena.Widgets
             cr.Restore ();
             return base.OnDrawn (cr);
         }
-		
+
         public void RemoveButton (Button button)
         {
             button_box.Remove (button);
diff --git a/Hyena.Gui/Hyena.Widgets/PulsingButton.cs b/Hyena.Gui/Hyena.Widgets/PulsingButton.cs
index e6d9d95..d0f3368 100644
--- a/Hyena.Gui/Hyena.Widgets/PulsingButton.cs
+++ b/Hyena.Gui/Hyena.Widgets/PulsingButton.cs
@@ -96,8 +96,8 @@ namespace Hyena.Widgets
             double r = Math.Min (Allocation.Width, Allocation.Height) / 2;
             double alpha = Choreographer.Compose (pulsator.Percent, Easing.Sine);
 
-			Gdk.RGBA rgba = StyleContext.GetBackgroundColor (StateFlags.Selected);
-			Cairo.Color color = new Cairo.Color (rgba.Red, rgba.Green, rgba.Blue, rgba.Alpha);
+            Gdk.RGBA rgba = StyleContext.GetBackgroundColor (StateFlags.Selected);
+            Cairo.Color color = new Cairo.Color (rgba.Red, rgba.Green, rgba.Blue, rgba.Alpha);
             Cairo.RadialGradient fill = new Cairo.RadialGradient (x, y, 0, x, y, r);
             color.A = alpha;
             fill.AddColorStop (0, color);
diff --git a/Hyena.Gui/Hyena.Widgets/SegmentedBar.cs b/Hyena.Gui/Hyena.Widgets/SegmentedBar.cs
index b1dcadf..a18ffd6 100644
--- a/Hyena.Gui/Hyena.Widgets/SegmentedBar.cs
+++ b/Hyena.Gui/Hyena.Widgets/SegmentedBar.cs
@@ -484,8 +484,8 @@ namespace Hyena.Widgets
             }
 
             Pango.Layout layout = null;
-			Gdk.RGBA rgba;
-			StyleContext.GetColor (StateFlags, rgba);
+            Gdk.RGBA rgba;
+            StyleContext.GetColor (StateFlags, rgba);
             Color text_color = new Cairo.Color (rgba.Red, rgba.Green, rgba.Blue, rgba.Alpha);
             Color box_stroke_color = new Color (0, 0, 0, 0.6);
 



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