summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-10-22 20:12:20 -0400
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2022-12-13 14:45:15 -0300
commitee5324359d24c3ade2ca0b01790a56f39a39f4ef (patch)
tree051a742bd816279429111ba0aa5c346d3bf9f68e /gtk/gtkfilechooserprivate.h
parent10338a52373cb8f0fa3cbf785148817b9aa28f23 (diff)
downloadgtk+-ee5324359d24c3ade2ca0b01790a56f39a39f4ef.tar.gz
filechooser: Save and restore view type
With this, the filechooser comes up with the same view (grid or list) that it had the last time you used it.
Diffstat (limited to 'gtk/gtkfilechooserprivate.h')
-rw-r--r--gtk/gtkfilechooserprivate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserprivate.h b/gtk/gtkfilechooserprivate.h
index ac6da257a4..7f3215ff3e 100644
--- a/gtk/gtkfilechooserprivate.h
+++ b/gtk/gtkfilechooserprivate.h
@@ -46,6 +46,7 @@ G_BEGIN_DECLS
#define SETTINGS_KEY_CLOCK_FORMAT "clock-format"
#define SETTINGS_KEY_DATE_FORMAT "date-format"
#define SETTINGS_KEY_TYPE_FORMAT "type-format"
+#define SETTINGS_KEY_VIEW_TYPE "view-type"
#define GTK_FILE_CHOOSER_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_FILE_CHOOSER, GtkFileChooserIface))