xdg user directory patches for xfce 4.4.2

Jannis Pohlmann jannis at xfce.org
Sun Aug 10 23:37:49 CEST 2008


Am Sun, 10 Aug 2008 23:26:45 +0200
schrieb Andrea Santilli <yawara at quipo.it>:

> Il giorno dom, 10/08/2008 alle 13.43 -0700, Brian J. Tarricone ha
> scritto:
> > On Sun, 10 Aug 2008 22:30:55 +0200 Andrea Santilli wrote:
> > 
> > > Thanks for your replies guys, you've given me some cool ideas.
> > > I'm thinking about making the base libraries find out what those
> > > directories are and give the values to the requesting
> > > applications, instead of having to find them out every time.
> > > And yes, I guess I'll need to write some function that can replace
> > > g_get_user_special_dir().
> > 
> > Please don't.  130 lines of code isn't worth adding API to
> > libxfce4util, esp. since that API is already obsoleted by glib.
> > 
> > > Anyway, about the portability, maybe it would be a better idea to
> > > write a setting configuration interface through which you can
> > > enter the pathnames for those directories. Something like kde
> > > already has. It could also have a 'set everything with the xdg
> > > user directory defaults' option.
> > > Dunno, thats just an idea. What do you think?
> > 
> > Yeah, it would be nice to have UI for this, I think, though most
> > average users would probably not need/want to change these things.
> > 
> > 	-brian
> > 
> > P.S  Please don't top-post.
> > _______________________________________________
> > Xfce4-dev mailing list
> > Xfce4-dev at xfce.org
> > http://foo-projects.org/mailman/listinfo/xfce4-dev
> > ________________________________________________________________________
> 
> Ok Brian, thank you. I'm going to develop that UI and put the
> g_get_user_special_dir() replacement in thunar/xfdesktop directly.
> About the syntax, sorry I'm just used to java :D I'm gonna have a look
> at the HACKING file.

Please note that Thunar uses a different coding style than xfdesktop
does. Dunno whether Thunar also has a HACKING file, but you'll see how
the code looks like by ... looking at the code anyway.

  - Jannis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20080810/91576af9/attachment.pgp>


More information about the Xfce4-dev mailing list