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 528035 - Port the recent manager to gio
Port the recent manager to gio
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Class: GtkRecent
2.13.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Emmanuele Bassi (:ebassi)
Depends on: 524219 524304
Blocks: 487375 506062
 
 
Reported: 2008-04-14 13:39 UTC by Emmanuele Bassi (:ebassi)
Modified: 2010-10-22 11:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
RecentManager gio port (11.51 KB, application/x-compressed-tar)
2008-04-14 13:44 UTC, Emmanuele Bassi (:ebassi)
Details

Description Emmanuele Bassi (:ebassi) 2008-04-14 13:39:01 UTC
SSIA

tracker bug for all the gio-related improvements.
Comment 1 Emmanuele Bassi (:ebassi) 2008-04-14 13:44:35 UTC
Created attachment 109237 [details]
RecentManager gio port

archive of patches. index:

- [PATCH 1/9] Add gio-2.0 dependency
- [PATCH 2/9] Use GIO to query the MIME type when adding a URI to
              the recent files
- [PATCH 3/9] Use GFileMonitor to get change notification of the
              recent files storage
- [PATCH 4/9] Implement bulk additions API for GtkRecentManager
- [PATCH 5/9] Emit the ::changed signal at the end of the MIME type query
- [PATCH 6/9] Use XDG_USER_DATA to store the recently used files
- [PATCH 7/9] Add the gtk-recent-files-max-age property to GtkSettings
- [PATCH 8/9] Use the newly added gtk-recent-files-max-age setting
- [PATCH 9/9] Fix the logic for setting the :filename property

these patches fix bug 487375, bug 524304, bug 506062 and bug 524219.
Comment 2 Matthias Clasen 2008-06-18 16:42:45 UTC
I have a patch to use gio for the mime icons too, but rawhide browsers are too broken to attach files atm....
Comment 3 Sebastien Bacher 2008-07-12 15:10:13 UTC
could those changes be consider now? it would be nice to fix those issues before GNOME 2.24
Comment 4 Matthias Clasen 2008-07-12 17:28:46 UTC
I think a good chunk of this is in trunk already. Emmanuele, what are we still missing ?
Comment 5 Emmanuele Bassi (:ebassi) 2008-07-12 18:20:54 UTC
as Matthias said, most of this is already in trunk.

what's missing is just the relocation of the recently-used.xbel file into something more XDG-compliant and the bulk addition of files for applications with multiple files open. the latter is a small API addition - just one function, so we can still add it if it's deemed useful enough (the rationale is in bug 524219).
Comment 6 Emmanuele Bassi (:ebassi) 2010-10-22 11:27:28 UTC
I think we can safely close this bug - and leave specific issues to newly opened bugs.