summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-window-info.h
diff options
context:
space:
mode:
authorSargastic <[email protected]>2018-08-11 21:40:02 +0200
committerraveit65 <[email protected]>2018-12-27 13:11:09 +0100
commit58e987622a1d4ff137b9e5475880376dd60ac18b (patch)
tree9eefd32199ba49d8500074b2a087ebc009431ae7 /libcaja-private/caja-window-info.h
parent040a897fe879e949f4e11be4b0d065486c677e97 (diff)
downloadcaja-58e987622a1d4ff137b9e5475880376dd60ac18b.tar.bz2
caja-58e987622a1d4ff137b9e5475880376dd60ac18b.tar.xz
Add independent show/hide backup files
Diffstat (limited to 'libcaja-private/caja-window-info.h')
-rw-r--r--libcaja-private/caja-window-info.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/libcaja-private/caja-window-info.h b/libcaja-private/caja-window-info.h
index 7cced147..20ecc414 100644
--- a/libcaja-private/caja-window-info.h
+++ b/libcaja-private/caja-window-info.h
@@ -41,6 +41,13 @@ extern "C" {
}
CajaWindowShowHiddenFilesMode;
+ typedef enum
+ {
+ CAJA_WINDOW_SHOW_BACKUP_FILES_DEFAULT,
+ CAJA_WINDOW_SHOW_BACKUP_FILES_ENABLE,
+ CAJA_WINDOW_SHOW_BACKUP_FILES_DISABLE
+ }
+ CajaWindowShowBackupFilesMode;
typedef enum
{
@@ -105,6 +112,7 @@ extern "C" {
void (* title_changed) (CajaWindowInfo *window,
const char *title);
void (* hidden_files_mode_changed)(CajaWindowInfo *window);
+ void (* backup_files_mode_changed)(CajaWindowInfo *window);
/* VTable: */
/* A view calls this once after a load_location, once it starts loading the
@@ -142,7 +150,11 @@ extern "C" {
(* get_hidden_files_mode) (CajaWindowInfo *window);
void (* set_hidden_files_mode) (CajaWindowInfo *window,
CajaWindowShowHiddenFilesMode mode);
-
+ CajaWindowShowBackupFilesMode
+ (* get_backup_files_mode) (CajaWindowInfo *window);
+ void (* set_backup_files_mode) (CajaWindowInfo *window,
+ CajaWindowShowBackupFilesMode mode);
+
CajaWindowSlotInfo * (* get_active_slot) (CajaWindowInfo *window);
CajaWindowSlotInfo * (* get_extra_slot) (CajaWindowInfo *window);
@@ -180,6 +192,9 @@ extern "C" {
CajaWindowShowHiddenFilesMode caja_window_info_get_hidden_files_mode (CajaWindowInfo *window);
void caja_window_info_set_hidden_files_mode (CajaWindowInfo *window,
CajaWindowShowHiddenFilesMode mode);
+ void caja_window_info_set_backup_files_mode (CajaWindowInfo *window,
+ CajaWindowShowBackupFilesMode mode);
+
gboolean caja_window_info_get_initiated_unmount (CajaWindowInfo *window);
void caja_window_info_set_initiated_unmount (CajaWindowInfo *window,
gboolean initiated_unmount);