xfdesktop has minimised app icons now!

Biju Chacko botsie at xfce.org
Thu Sep 8 12:00:09 CEST 2005


Brian J. Tarricone wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi all,
> 
> I took a stab at implementing CDEish minimised app icons on the
> desktop.  It's coming along pretty well.  You can't drag them around
> yet, but it otherwise works.  Give it a try on xfdesktop trunk and let
> me know what you think.
> 
> Here it is in action:
> http://spuriousinterrupt.org/projects/xfce4/images/screenshots/other/xfdesktop-window-icons-20050908.png
> 
> Note that I'm *not* going to support arbitrary positioning of icons:
> they'll always be aligned to a grid wherever they are on the desktop.
> 
> I'm also *not* going to support files or application launchers on the
> desktop.  Xffm already provides that, and Thunar will as well, so if
> you want that, use that.  This is just for people that like the old CDE
> feel.
> 
> 2:45am... I should be in bed...

I suspect you haven't commited xfce-desktop.h because I get the 
following build error:

xfce-desktop.c: In function ‘check_icon_double_clicked’:
xfce-desktop.c:1390: error: ‘XfceDesktopIcon’ undeclared (first use in 
this function)
xfce-desktop.c:1390: error: (Each undeclared identifier is reported only 
once
xfce-desktop.c:1390: error: for each function it appears in.)
xfce-desktop.c:1390: error: ‘icon’ undeclared (first use in this function)
xfce-desktop.c:1390: error: syntax error before ‘)’ token
xfce-desktop.c:1391: error: ‘IconForeachData’ undeclared (first use in 
this function)
xfce-desktop.c:1391: error: ‘ifed’ undeclared (first use in this function)
xfce-desktop.c:1391: error: syntax error before ‘)’ token
xfce-desktop.c: In function ‘check_icon_clicked’:
xfce-desktop.c:1409: error: ‘XfceDesktopIcon’ undeclared (first use in 
this function)
xfce-desktop.c:1409: error: ‘icon’ undeclared (first use in this function)
xfce-desktop.c:1409: error: syntax error before ‘)’ token
xfce-desktop.c:1410: error: ‘IconForeachData’ undeclared (first use in 
this function)
xfce-desktop.c:1410: error: ‘ifed’ undeclared (first use in this function)
xfce-desktop.c:1410: error: syntax error before ‘)’ token
xfce-desktop.c:1420: error: ‘struct _XfceDesktopPriv’ has no member 
named ‘icon_workspaces’
xfce-desktop.c:1420: error: ‘struct _XfceDesktopPriv’ has no member 
named ‘cur_ws_num’
xfce-desktop.c:1421: error: ‘old_sel’ undeclared (first use in this 
function)
xfce-desktop.c:1421: error: ‘struct _XfceDesktopPriv’ has no member 
named ‘icon_workspaces’
xfce-desktop.c:1421: error: ‘struct _XfceDesktopPriv’ has no member 
named ‘cur_ws_num’
xfce-desktop.c:1422: error: ‘struct _XfceDesktopPriv’ has no member 
named ‘icon_workspaces’
xfce-desktop.c:1422: error: ‘struct _XfceDesktopPriv’ has no member 
named ‘cur_ws_num’
xfce-desktop.c:1426: error: ‘struct _XfceDesktopPriv’ has no member 
named ‘icon_workspaces’
xfce-desktop.c:1426: error: ‘struct _XfceDesktopPriv’ has no member 
named ‘cur_ws_num’
xfce-desktop.c: In function ‘xfce_desktop_button_press’:
xfce-desktop.c:1438: error: ‘IconForeachData’ undeclared (first use in 
this function)
xfce-desktop.c:1438: error: syntax error before ‘ifed’
xfce-desktop.c:1443: error: ‘struct _XfceDesktopPriv’ has no member 
named ‘icon_workspaces’
xfce-desktop.c:1443: error: ‘struct _XfceDesktopPriv’ has no member 
named ‘cur_ws_num’
xfce-desktop.c:1446: error: ‘ifed’ undeclared (first use in this function)
xfce-desktop.c:1448: error: ‘struct _XfceDesktopPriv’ has no member 
named ‘icon_workspaces’
xfce-desktop.c:1448: error: ‘struct _XfceDesktopPriv’ has no member 
named ‘cur_ws_num’
xfce-desktop.c:1451: error: ‘struct _XfceDesktopPriv’ has no member 
named ‘icon_workspaces’
xfce-desktop.c:1451: error: ‘struct _XfceDesktopPriv’ has no member 
named ‘cur_ws_num’
xfce-desktop.c:1456: error: ‘struct _XfceDesktopPriv’ has no member 
named ‘icon_workspaces’
xfce-desktop.c:1456: error: ‘struct _XfceDesktopPriv’ has no member 
named ‘cur_ws_num’
make[2]: *** [xfdesktop-xfce-desktop.o] Error 1

HTH,

-- b




More information about the Xfce4-dev mailing list