Re: First Time Applet Developer In Distress



Herman Roozenbeek <hermanr@mailroom.com> wrote:
> On Tue, 6 Jun 2000, Matthew wrote:
> > ... and tell me why the applet does not add the entry to the config file?
> 
> I guess the first "/" in
> gnome_config_set_string("/sqlwork_applet/databaseid", dbid);
> is too much!?

The '/' is okay, but it specifies the file to use for the
configration. The exact definition od this string is as follows:

/ <configfile-name> / <Group> / <Key>

with 'gnome_config_push_prefix' you can specify the path to your
configfile, for example:

gnome_config_push_prefix(APPLET_WIDGET(applet)->privcfgpath)


crunchy

-- 
__________________________________________________________
\ Andreas Buesching <crunchy@tzi.de> <andreas@netz.nsp.de>
\\ crunchy           <tacker@sachmittel.de>
\\\ website           http://www.linuxfreak.com/~crunchy/ 




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