Re: panel question



On Sun, Sep 12, 1999 at 03:36:12PM -0500, Ted Milker wrote:
> Hey all, what exactly are the files in ~/.gnome/panel.d/defaults for?
> I've fixed the gnome-pager so that it saves preferences, however, I
> want to make sure, before submitting the patch, that I'm doing it the
> Gnome way.  Is it okay to save individual applet prefences in
> ~/.gnome(in this case, ~/.gnome/gnome_pager) like applications?  I
> noticed the code for gnome-pager was trying to push privcfgpath and
> write preferences to a section called stuff.  I found out that this
> privcfgpath goes to ~/.gnome/panel.d/defaults.  When I did a grep in
> that directory, I found not just one file that contained the section
> stuff, but many.  What exactly is this directory for?  I've looked at
> the files and it seems like the preferences for a lot of applets are
> put in here, but no logical order to it all and often duplicated and
> appearing in different files.  Could someone tell me what's going on
> here?

All applets should save using the privcfgpath or bad things will happen. The
"default" directory is where all the panel and applet config is stored.

Read APPLET_WRITING in the CVS /gnome-core/panel directory, or read the
applet tutorial on developer.gnome.org for more info.

The other files that contain [stuff] are just outdated files most likely
which were not properly cleaned by the config stuff, they are absolutely
harmless.

George

-- 
------------------------------------------------------------------------------
George Lebl <jirka@5z.com> http://www.5z.com/jirka/
------------------------------------------------------------------------------
  The following implements RSA in perl and is illegal to export from the US:

          #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
          $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
          lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)



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