Skip to content
  • Emmanuele Bassi's avatar
    Bug 488507 – boundless growth of .recently-used.xbel file slows down · beb54a9b
    Emmanuele Bassi authored
    2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
    
    	Bug 488507 – boundless growth of .recently-used.xbel file
    	slows down applications
    
    	* gtk/gtkrecentmanager.c:
    	(gtk_recent_manager_init),
    	(gtk_recent_manager_real_changed),
    	(gtk_recent_manager_set_filename),
    	(gtk_recent_manager_clamp_to_age): Clamp the recently
    	used resources list by the age of its items, using
    	the newly added GtkSettings property.
    
    	* gtk/gtksettings.c (gtk_settings_class_init): Add the
    	gtk-recent-files-max-age property, controlling the
    	maximum age of the items in the recently used resources
    	list.
    
    svn path=/trunk/; revision=20006
    beb54a9b