summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-07-25 22:32:36 +0800
committerraveit65 <[email protected]>2022-07-20 21:40:31 +0200
commit43c2460c03f30dbfe69f9bea2bf688de2303bd61 (patch)
tree00b5efe70c715e6bdae05ce3da7b9460b59ac8da /libcaja-private
parent2b082d8a2aa4c5a02e60f970bf73434aa25234da (diff)
downloadcaja-43c2460c03f30dbfe69f9bea2bf688de2303bd61.tar.bz2
caja-43c2460c03f30dbfe69f9bea2bf688de2303bd61.tar.xz
Add preference option to hide icons in list view.
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-global-preferences.h1
-rw-r--r--libcaja-private/org.mate.caja.gschema.xml5
2 files changed, 6 insertions, 0 deletions
diff --git a/libcaja-private/caja-global-preferences.h b/libcaja-private/caja-global-preferences.h
index d3e4b7ce..a7df4928 100644
--- a/libcaja-private/caja-global-preferences.h
+++ b/libcaja-private/caja-global-preferences.h
@@ -68,6 +68,7 @@ G_BEGIN_DECLS
#define CAJA_PREFERENCES_SHOW_ADVANCED_PERMISSIONS "show-advanced-permissions"
#define CAJA_PREFERENCES_DATE_FORMAT "date-format"
#define CAJA_PREFERENCES_USE_IEC_UNITS "use-iec-units"
+#define CAJA_PREFERENCES_HIDE_ICON_IN_LIST_VIEW "hide-icons-in-list-view"
/* Mouse */
#define CAJA_PREFERENCES_MOUSE_USE_EXTRA_BUTTONS "mouse-use-extra-buttons"
diff --git a/libcaja-private/org.mate.caja.gschema.xml b/libcaja-private/org.mate.caja.gschema.xml
index 8ecc1977..481372ee 100644
--- a/libcaja-private/org.mate.caja.gschema.xml
+++ b/libcaja-private/org.mate.caja.gschema.xml
@@ -259,6 +259,11 @@
<summary>Whether to show file sizes with IEC units</summary>
<description>If set to true, file sizes are shown using IEC (base 1024) units with "KiB" style suffixes, instead of default with SI units.</description>
</key>
+ <key name="hide-icons-in-list-view" type="b">
+ <default>false</default>
+ <summary>Whether to hide icons in list view</summary>
+ <description>If set to true, hide file icons in list view.</description>
+ </key>
<key name="show-notifications" type="b">
<default>true</default>
<summary>Whether to show desktop notifications</summary>