remove_dir() and notifies



I am working on an ncurses interface to browse and edit the gconf
database.  Currently, the code can browse entries, and responds correctly
(it seems :) to entry inserts, deletes and changes.  What I *know* the
code currently will spit on is the removal of a path.

I don't handle this case for two reasons - first, the lack of the API
function makes it a little harder to test, and second, the notification
callback is triggered with a *key* name, not a path.

How, then, does an application get notification that a path in the
namespace it is watching has just vanished?

(my code takes care of paths appearing when a key is inserted already.)

I'll have the code available for download in a few days time, after I tidy
the proof-of-conceptness up.

-- 
bje







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]