diff options
author | Colomban Wendling <[email protected]> | 2021-03-23 17:47:32 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-04-13 17:46:57 +0200 |
commit | 19791791d66ac55fb6a1cd36aa51c448067081fe (patch) | |
tree | 4d518a26c8a785c7696a21d3662188d42686f5d7 /libcaja-private/caja-icon-container.h | |
parent | 2149626bef57b8ec1bd3edea537dc4e8e7548d10 (diff) | |
download | caja-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-icon-container.h')
-rw-r--r-- | libcaja-private/caja-icon-container.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcaja-private/caja-icon-container.h b/libcaja-private/caja-icon-container.h index 74914b56..1e7bbbe7 100644 --- a/libcaja-private/caja-icon-container.h +++ b/libcaja-private/caja-icon-container.h @@ -281,6 +281,9 @@ void caja_icon_container_set_tighter_layout (CajaIconCon gboolean caja_icon_container_is_keep_aligned (CajaIconContainer *container); void caja_icon_container_set_keep_aligned (CajaIconContainer *container, gboolean keep_aligned); +gboolean caja_icon_container_is_lock_icons_position (CajaIconContainer *container); +void caja_icon_container_set_lock_icons_position (CajaIconContainer *container, + gboolean lock_icons_position); void caja_icon_container_set_layout_mode (CajaIconContainer *container, CajaIconLayoutMode mode); void caja_icon_container_set_label_position (CajaIconContainer *container, |