Re: [Evolution] Evolution 2.0 UI proposal



On Mon, 2003-07-21 at 21:37, Jeffrey Stedfast wrote:
you should look into writing your own gtk program that swaps in/out the 
appropriate %gconf.xml file in ~/.gconf/apps/evolution/mail/ based on 
the 'location' the user is in. this is what you seem to be wanting...

Of course that won't work very well as GConf won't pick up the changes:
it assumes you're not manually touching the files.  Use the GConf APIs
(a small python scripting using the GConf bindings would be trivial).

You might want to look at the autonet[1] project. This uses D-BUS to
notify about network events, so your program could be told when the
network has changed and make the required GConf changes.

Ross

[1] http://alioth.debian.org/projects/autonet/
-- 
Ross Burton                     Software Engineer
OneEighty Software Ltd          Tel: +44 20 8680 8712
Cygnet House                    Fax: +44 20 8680 8453
12-14 Sydenham Road             r burton 180sw com
Croydon, Surrey CR9 2ET, UK     http://www.180sw.com./
====================================================================
Under the Regulation of Investigatory Powers (RIP) Act 2000 together
with any and all Regulations in force pursuant to the Act OneEighty
Software Ltd reserves the right to monitor any or all incoming or
outgoing communications as provided for under the Act

Attachment: signature.asc
Description: This is a digitally signed message part



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