summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-icon-container.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-11 22:25:23 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-13 15:07:35 +0100
commit4b2d71fef886fbdffd8d1a03a337cf1e794d1252 (patch)
treecf2bb63ab7a905d85bc9b92d0b82b9366afa7bdf /libcaja-private/caja-icon-container.c
parent2c8e8a06a050d43d730475bf05cbd07508f32160 (diff)
downloadcaja-4b2d71fef886fbdffd8d1a03a337cf1e794d1252.tar.bz2
caja-4b2d71fef886fbdffd8d1a03a337cf1e794d1252.tar.xz
GTK3 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 taken from: https://git.gnome.org/browse/nautilus/commit/?id=2f064e5
Diffstat (limited to 'libcaja-private/caja-icon-container.c')
-rw-r--r--libcaja-private/caja-icon-container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c
index 066da73f..2cec67a5 100644
--- a/libcaja-private/caja-icon-container.c
+++ b/libcaja-private/caja-icon-container.c
@@ -4701,7 +4701,7 @@ style_updated (GtkWidget *widget)
if (gtk_widget_get_realized (widget))
{
- invalidate_label_sizes (container);
+ invalidate_labels (container);
caja_icon_container_request_update_all (container);
}
#else