File gnome-panel-bug332344.patch of Package gnome-panel-nld

--- gnome-panel/panel-widget.c.orig	2007-11-03 01:01:53.399525500 +0800
+++ gnome-panel/panel-widget.c	2007-11-03 01:04:09.880055000 +0800
@@ -1458,8 +1458,11 @@
 			if (ad->expand_major) {
 				cells = (i - ad->constrained) - 1;
 
-				if (ad->size_hints) 
-					cells = get_size_from_hints (ad, cells);
+				/* Add by Flex to fix bug 332344 */
+				if(panel->orient == GTK_ORIENTATION_HORIZONTAL) {
+					if (ad->size_hints) 
+						cells = get_size_from_hints (ad, cells);
+				}
 				cells = MAX (cells, ad->min_cells);
 
 				ad->cells = cells;
openSUSE Build Service is sponsored by