desktop-bookmark-spec: disable recent files storage?

Emmanuele Bassi ebassi at gmail.com
Sun Jun 7 18:33:07 PDT 2009


On Sun, 2009-06-07 at 18:31 -0400, Rodney Dawes wrote:
> Hi,
> 
> The Recent Files spec isn't XBEL.

the desktop bookmark file storage specification which is what gtk+ uses
for the recently used files *is* valid XBEL. you're probably thinking of
the old spec, which is not implemented any more.

>  I don't know how implementable this
> is, but I think it would be better to store configuration in config
> somewhere. Perhaps this could be implemented via dconf (when it is
> available) or with an XSetting, so that it will work for both desktops.

gtk+ already exposes a setting for controlling the maximum age of
recently used files that should be stored -- and if that age is set to 0
no recently used file will be added to the storage. it's already
properly documented in the gtk+ API reference:

  The "gtk-recent-files-max-age" property
  "gtk-recent-files-max-age" gint                  : Read / Write

  The maximum age, in days, of the items inside the recently used
  resources list. Items older than this setting will be excised from the
  list. If set to 0, the list will always be empty; if set to -1, no
  item will be removed.

  Allowed values: >= G_MAXULONG

  Default value: 30

  Since 2.14

http://library.gnome.org/devel/gtk/stable/GtkSettings.html#GtkSettings--gtk-recent-files-max-age

ciao,
 Emmanuele.

> -- Rodney
> 
> 
> On Sun, 2009-06-07 at 17:03 +0200, Thomas Spura wrote:
> > Hi list,
> > is it possible to chance the xbel format a bit, to add a bool, if the
> > recent files should be updated or not?
> > This would solve the workaround to disable such collecting of recent
> > files, which is not wanted by many users...
> > 
> > See also bugs:
> > 
> > http://bugzilla.gnome.org/show_bug.cgi?id=305325
> > https://bugs.launchpad.net/ubuntu/+source/gnome-panel/+bug/30942
> > http://bugzilla.gnome.org/show_bug.cgi?id=305325
> > 
> > 	Thomas
> 
> 
> _______________________________________________
> xdg mailing list
> xdg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xdg
-- 
Emmanuele Bassi,
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi



More information about the xdg mailing list