From 256f16852528d5760786192649e62fa3dcaa013f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 25 Nov 2012 15:45:26 -0500 Subject: [PATCH] Obtain the recent files max age setting from xsettings This will help with implementing desktop-wide policy for retaining of history. https://bugzilla.gnome.org/show_bug.cgi?id=689047 --- gdk/x11/gdksettings.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gdk/x11/gdksettings.c b/gdk/x11/gdksettings.c index 15d73ba98..416de43f4 100644 --- a/gdk/x11/gdksettings.c +++ b/gdk/x11/gdksettings.c @@ -82,7 +82,8 @@ static const char gdk_settings_names[] = "Gtk/VisibleFocus\0" "gtk-visible-focus\0" "Gtk/ShellShowsAppMenu\0" "gtk-shell-shows-app-menu\0" "Gtk/ShellShowsMenubar\0" "gtk-shell-shows-menubar\0" - "Gtk/EnablePrimaryPaste\0" "gtk-enable-primary-paste\0"; + "Gtk/EnablePrimaryPaste\0" "gtk-enable-primary-paste\0" + "Gtk/RecentFilesMaxAge\0" "gtk-recent-files-max-age\0"; @@ -140,5 +141,6 @@ static const struct { 1767, 1784 }, { 1802, 1824 }, { 1849, 1871 }, - { 1895, 1918 } + { 1895, 1918 }, + { 1943, 1965 } }; -- 2.43.2