[banshee] [Preferences.Gui] Don't indent label-less sections



commit 0c526960072315fa8487820f7b457677b9dcdf82
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Mon Nov 9 23:06:27 2009 -0800

    [Preferences.Gui] Don't indent label-less sections

 .../Banshee.Preferences.Gui/NotebookPage.cs        |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/NotebookPage.cs b/src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/NotebookPage.cs
index 4e153b0..417450d 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/NotebookPage.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/NotebookPage.cs
@@ -113,7 +113,7 @@ namespace Banshee.Preferences.Gui
             
             Alignment alignment = new Alignment (0.0f, 0.0f, 1.0f, 1.0f);
             alignment.TopPadding = (uint)(frame == null ? 0 : 5);
-            alignment.LeftPadding = 12;
+            alignment.LeftPadding = section.ShowLabel ? (uint)12 : (uint)0;
             alignment.Show ();
             
             if (frame != null) {



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