diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-01-11 22:25:23 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-01-13 15:07:35 +0100 |
commit | 4b2d71fef886fbdffd8d1a03a337cf1e794d1252 (patch) | |
tree | cf2bb63ab7a905d85bc9b92d0b82b9366afa7bdf /libcaja-private/caja-icon-container.c | |
parent | 2c8e8a06a050d43d730475bf05cbd07508f32160 (diff) | |
download | caja-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.c | 2 |
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 |