banshee r4854 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Sources.Gui
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4854 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Sources.Gui
- Date: Thu, 4 Dec 2008 21:20:59 +0000 (UTC)
Author: gburt
Date: Thu Dec 4 21:20:58 2008
New Revision: 4854
URL: http://svn.gnome.org/viewvc/banshee?rev=4854&view=rev
Log:
2008-12-04 Gabriel Burt <gabriel burt gmail com>
* src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs:
Use Pack instead of Add when adding items to Panes, so that the min-size
of children is respected and they can't be practically hidden - fixes bug
with podcasts list being zero height and therefore not visible on small
screens (BGO #560675)
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs Thu Dec 4 21:20:58 2008
@@ -218,27 +218,27 @@
bool last_even_filter = (i == filter_scrolled_windows.Count - 1 && filter_scrolled_windows.Count % 2 == 0);
if (i > 0 && !last_even_filter) {
Paned new_pane = GetPane (top);
- current_pane.Add2 (new_pane);
+ current_pane.Pack2 (new_pane, true, false);
current_pane.Position = 350;
PersistentPaneController.Control (current_pane, ControllerName (top, i));
current_pane = new_pane;
}
if (last_even_filter) {
- current_pane.Add2 (window);
+ current_pane.Pack2 (window, true, false);
current_pane.Position = 350;
PersistentPaneController.Control (current_pane, ControllerName (top, i));
} else {
/*if (i == 0)
current_pane.Pack1 (window, false, false);
else*/
- current_pane.Add1 (window);
+ current_pane.Pack1 (window, true, false);
}
}
- container.Add1 (filter_box);
- container.Add2 (main_scrolled_window);
+ container.Pack1 (filter_box, true, false);
+ container.Pack2 (main_scrolled_window, true, false);
browser_container = filter_box;
container.Position = top ? 175 : 275;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]