[banshee] Fixed browser positioning when Banshee is maximised (bgo#575834)



commit 0ddf1372c4f5da11fb833c06aeac9530726d0889
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date:   Wed Jun 3 09:43:59 2009 +1000

    Fixed browser positioning when Banshee is maximised (bgo#575834)
    
    The problem exists because the pane sizes from gconf are applied before the main
    window is actually maximised. And when it's maximised, the panes are scaled to
    the new size. This commit disables auto-resizing, which fixes the problem.
---
 .../FilteredListSourceContents.cs                  |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs b/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs
index 175f9e3..0247862 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs
@@ -231,10 +231,7 @@ namespace Banshee.Sources.Gui
                     current_pane.Position = 350;
                     PersistentPaneController.Control (current_pane, ControllerName (top, i));
                 } else {
-                    /*if (i == 0)
-                        current_pane.Pack1 (window, false, false);
-                    else*/
-                        current_pane.Pack1 (window, true, false);
+                    current_pane.Pack1 (window, false, false);
                 }
                     
             }



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