[nautilus] icon-container: invalidate the layout cache on style-updated



commit 2f064e560cf949b1e1bc4448eaa277f8e05180d8
Author: David Liang <liangchenye gmail com>
Date:   Fri Sep 9 00:48:01 2011 -0400

    icon-container: invalidate the layout cache on style-updated
    
    This way label sizes will be recomputed if e.g. DPI settings change.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=578468

 libnautilus-private/nautilus-icon-container.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-icon-container.c b/libnautilus-private/nautilus-icon-container.c
index a46f75d..d637a7c 100644
--- a/libnautilus-private/nautilus-icon-container.c
+++ b/libnautilus-private/nautilus-icon-container.c
@@ -4248,7 +4248,7 @@ style_updated (GtkWidget *widget)
 	}
 
 	if (gtk_widget_get_realized (widget)) {
-		invalidate_label_sizes (container);
+		invalidate_labels (container);
 		nautilus_icon_container_request_update_all (container);
 	}
 }



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