PATCH: Bug 47219
- From: Dave Bordoley <bordoley msu edu>
- To: nautilus-list gnome org
- Subject: PATCH: Bug 47219
- Date: 29 May 2002 02:40:54 -0400
http://bugzilla.gnome.org/show_bug.cgi?id=47219
has a patch that was made fairly recently. Please check it out when
convenient. It is provided by Jorgen Viksell.
dave
Index: libnautilus-private/nautilus-icon-container.c
===================================================================
RCS file: /cvs/gnome/nautilus/libnautilus-private/nautilus-icon-container.c,v
retrieving revision 1.268
diff -u -r1.268 nautilus-icon-container.c
--- libnautilus-private/nautilus-icon-container.c 2002/03/14 02:58:56 1.268
+++ libnautilus-private/nautilus-icon-container.c 2002/03/27 08:21:27
@@ -2337,26 +2337,17 @@
need_layout_redone = !container->details->has_been_allocated;
- /* FIXME bugzilla.gnome.org 47219:
- * We shouldn't have to redo the layout when x, y, or height
- * changes, only when width changes. However, just removing these
- * tests causes a problem when you're vertically stretching a window
- * taller than the size needed to display all contents (the whole
- * batch of contents start moving down, centered in the extra space).
- */
- if (allocation->x != widget->allocation.x
- || allocation->width != widget->allocation.width
- || allocation->y != widget->allocation.y
- || allocation->height != widget->allocation.height) {
+ if (allocation->width != widget->allocation.width
+ || allocation->height > widget->allocation.height) {
need_layout_redone = TRUE;
}
-
+
GTK_WIDGET_CLASS (parent_class)->size_allocate (widget, allocation);
container->details->has_been_allocated = TRUE;
if (need_layout_redone) {
- redo_layout (NAUTILUS_ICON_CONTAINER (widget));
+ redo_layout (container);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]