summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-metadata.c
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2021-03-23 17:47:32 +0100
committerraveit65 <[email protected]>2021-04-13 17:46:57 +0200
commit19791791d66ac55fb6a1cd36aa51c448067081fe (patch)
tree4d518a26c8a785c7696a21d3662188d42686f5d7 /libcaja-private/caja-metadata.c
parent2149626bef57b8ec1bd3edea537dc4e8e7548d10 (diff)
downloadcaja-19791791d66ac55fb6a1cd36aa51c448067081fe.tar.bz2
caja-19791791d66ac55fb6a1cd36aa51c448067081fe.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-metadata.c')
-rw-r--r--libcaja-private/caja-metadata.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcaja-private/caja-metadata.c b/libcaja-private/caja-metadata.c
index da831f8b..c7c62e86 100644
--- a/libcaja-private/caja-metadata.c
+++ b/libcaja-private/caja-metadata.c
@@ -35,6 +35,7 @@ static char *used_metadata_names[] =
CAJA_METADATA_KEY_ICON_VIEW_SORT_BY,
CAJA_METADATA_KEY_ICON_VIEW_SORT_REVERSED,
CAJA_METADATA_KEY_ICON_VIEW_KEEP_ALIGNED,
+ CAJA_METADATA_KEY_ICON_VIEW_LOCK_ICONS_POSITION,
CAJA_METADATA_KEY_ICON_VIEW_LAYOUT_TIMESTAMP,
CAJA_METADATA_KEY_LIST_VIEW_ZOOM_LEVEL,
CAJA_METADATA_KEY_LIST_VIEW_SORT_COLUMN,