summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-07-25 22:32:36 +0800
committerlukefromdc <[email protected]>2019-07-27 20:08:46 +0000
commit25c9935c888006f8a540d7bcaadb99a9a52bf4d0 (patch)
tree2fc244ab5fdc3ce7409d8399d1b6644589985e95 /libcaja-private
parentd3af9ff752a3ec22670a19352c1e034c60288068 (diff)
downloadcaja-25c9935c888006f8a540d7bcaadb99a9a52bf4d0.tar.bz2
caja-25c9935c888006f8a540d7bcaadb99a9a52bf4d0.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>