Bug 444152 - file monitoring in im-info-daemon
Summary: file monitoring in im-info-daemon
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: imsettings
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-25 13:55 UTC by Matthias Clasen
Modified: 2008-06-27 02:24 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-06-27 02:24:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matthias Clasen 2008-04-25 13:55:57 UTC
The file monitoring in im-info-daemon is really pretty wrong. It
directly uses fam to set up some monitors, and then adds an idle to the
mainloop that checks for fam events and then sleeps for a second.

Can I recommend to use the file monitoring api that is provided by glib
since 2.16: GFileMonitor/GDirectoryMonitor. These use the best available
file notification mechanism (inotify, fam, fen, ...), integrate
automatically in the mainloop, and are very easy to set up.

Comment 1 Bug Zapper 2008-05-14 10:09:20 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Akira TAGOH 2008-06-27 02:23:29 UTC
Move to rawhide since this is the kind of feature.

Comment 3 Akira TAGOH 2008-06-27 02:24:59 UTC
Fixed in 0.101.0-1 or later.


Note You need to log in before you can comment on or make changes to this bug.