[banshee/1.5.1-fixes: 28/56] [Preferences.Gui] Don't indent label-less sections



commit 2c573d66f944dc47834af9584ef1df3e4a7ec35b
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]