Re: Way to remove a GConf dir ?


On Tue, 2005-09-13 at 10:31 +0200, Alexandre Jousset wrote:

remove them totally... I checked the C API, the GConf mailing list 
archives and googled but I find nothing... Any clue ? I tried 
$client->remove, $client->remove_key, $client->delete and 
$client->delete_key but none are recognized...

Just as a reminder: if it's not in the perldoc for the module, then it's
very unlikely that a method exists anyway; the API perldoc for every
wrapper module (as Gnome2::GConf::Client) is automatically rebuilt every
time a module is compiled.

      Anyway, that's great, it works ;-) So if anybody wants to know, to
delete a dir you just have to $client->unset() all keys in it...

I've never had to do it - breaks backward compatibility and stuff - but
thanks. I'll add it into the Gnome2::GConf::Client API reference.


Emmanuele Bassi - <ebassi gmail com>

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