xfdesktop: trying to add .desktop file support

Danny Milosavljevic danny.milo at gmx.net
Mon Jan 12 00:17:42 CET 2004


Am Son, den 11.01.2004 schrieb Danny Milosavljevic um 23:55:
> Am Son, den 11.01.2004 schrieb Danny Milosavljevic um 16:48:
> > Hi,
> > 
> > I'm trying to add rudimentary .desktop file support to xfdesktop...
> > 
> > However, I'm kinda stuck since it does parse all the .desktop files, and
> > after that, it displays the menu, then it segfaults...
> > No idea how to debug that since X is blocked when the menu is shown...
> > i.e. cant type anything in gdb...
> > 
> > I'll try to find the cause by hand, but maybe someone 1) knows how to
> > debug that or 2) finds it faster, so attached you can find menu.c.
> > Also copy xfce_desktop_entry.c and xfce_desktop_entry.h into the same
> > directory as it is included statically for now...
> > 
> > Thanks...
> > 
> 
> 
> Jasper, please don't atoi null ... 
> 
> (xfce_desktop_entry_get_int)
> 
> Thanks :)

oookay... the menu with desktop files properly sorted goes over several
screens vertically on my system ;)

eeek :)

attached is working version of xfdesktop including .desktop files,
except for "Execute in terminal", taken out until get_int bug is
fixed...

Have fun :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: menu.c
Type: text/x-c
Size: 31133 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20040112/68e3605a/attachment.bin>


More information about the Xfce4-dev mailing list