[gtk+] Obtain the recent files max age setting from xsettings



commit 256f16852528d5760786192649e62fa3dcaa013f
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Nov 25 15:45:26 2012 -0500

    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 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gdk/x11/gdksettings.c b/gdk/x11/gdksettings.c
index 15d73ba..416de43 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 }
 };



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]