summaryrefslogtreecommitdiff
path: root/src/caja-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-window.c')
-rw-r--r--src/caja-window.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/caja-window.c b/src/caja-window.c
index 52676dd5..a0c1d06a 100644
--- a/src/caja-window.c
+++ b/src/caja-window.c
@@ -1975,6 +1975,21 @@ caja_window_set_hidden_files_mode (CajaWindowInfo *window,
g_signal_emit_by_name (window, "hidden_files_mode_changed");
}
+static CajaWindowShowBackupFilesMode
+caja_window_get_backup_files_mode (CajaWindowInfo *window)
+{
+ return window->details->show_backup_files_mode;
+}
+
+static void
+caja_window_set_backup_files_mode (CajaWindowInfo *window,
+ CajaWindowShowBackupFilesMode mode)
+{
+ window->details->show_backup_files_mode = mode;
+
+ g_signal_emit_by_name (window, "backup_files_mode_changed");
+}
+
static gboolean
caja_window_get_initiated_unmount (CajaWindowInfo *window)
{
@@ -2076,6 +2091,10 @@ caja_window_info_iface_init (CajaWindowInfoIface *iface)
iface->get_selection = caja_window_get_selection;
iface->get_hidden_files_mode = caja_window_get_hidden_files_mode;
iface->set_hidden_files_mode = caja_window_set_hidden_files_mode;
+
+ iface->get_backup_files_mode = caja_window_get_backup_files_mode;
+ iface->set_backup_files_mode = caja_window_set_backup_files_mode;
+
iface->get_active_slot = caja_window_get_active_slot;
iface->get_extra_slot = caja_window_get_extra_slot;
iface->get_initiated_unmount = caja_window_get_initiated_unmount;