summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-icon-private.h
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2021-03-23 17:47:32 +0100
committerraveit65 <[email protected]>2022-07-21 19:33:51 +0200
commitcae1e23b3d9800b78c14300914dc11730c2cf6b6 (patch)
tree27b48705e63532bc20e149ca23c83169c8c98c09 /libcaja-private/caja-icon-private.h
parent70e891c66cede8fef74004b6c5740466e4d90eb4 (diff)
downloadcaja-cae1e23b3d9800b78c14300914dc11730c2cf6b6.tar.bz2
caja-cae1e23b3d9800b78c14300914dc11730c2cf6b6.tar.xz
icon view: Add a directory setting to block moving icons
This is mostly useful on the desktop (which is the main user of the free-placement icon view) to be able to lock the layout and avoid unintentionally moving icons around. Especially useful for less computer-literate users.
Diffstat (limited to 'libcaja-private/caja-icon-private.h')
-rw-r--r--libcaja-private/caja-icon-private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcaja-private/caja-icon-private.h b/libcaja-private/caja-icon-private.h
index 6d1657d5..80d53234 100644
--- a/libcaja-private/caja-icon-private.h
+++ b/libcaja-private/caja-icon-private.h
@@ -238,6 +238,9 @@ struct CajaIconContainerDetails
/* Should the container keep icons aligned to a grid */
gboolean keep_aligned;
+ /* Should the container not allow manual icon position */
+ gboolean lock_icons_position;
+
/* Set to TRUE after first allocation has been done */
gboolean has_been_allocated;