After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 349122 - There's no monitoring for recent files changes!
There's no monitoring for recent files changes!
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Class: GtkRecent
2.10.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Emmanuele Bassi (:ebassi)
Depends on:
Blocks:
 
 
Reported: 2006-07-28 20:16 UTC by Vincent Untz
Modified: 2006-07-28 20:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent Untz 2006-07-28 20:16:49 UTC
I'm migrating the panel to use GtkRecent stuff. Big issue: when an app adds an item to the recent files, the panel doesn't get notified.

The issue is that the monitoring is done by a poll. And the poll is setup in gtk_recent_manager_set_filename(). But this function is not called by default. gtk_recent_manager_init() should probably call it at some point...
Comment 1 Emmanuele Bassi (:ebassi) 2006-07-28 20:38:29 UTC
my bad, it's fixed in HEAD.

2006-07-28  Emmanuele Bassi  <ebassi@gnome.org>

        * gtk/gtkrecentmanager.c (gtk_recent_manager_init): Add the
        timeout for polling the file; change the default polling
        delta to 2000 msec.