use new fdo e_icon
authorSebastian Dransfeld <sd@tango.flipp.net>
Fri, 5 Nov 2010 18:54:56 +0000 (18:54 +0000)
committerSebastian Dransfeld <sd@tango.flipp.net>
Fri, 5 Nov 2010 18:54:56 +0000 (18:54 +0000)
SVN revision: 54195

src/bin/e_border.c

index a62e18d..52a56c9 100644 (file)
@@ -3365,9 +3365,12 @@ e_border_icon_add(E_Border *bd, Evas *evas)
      {
        if ((bd->desktop) && (bd->icon_preference != E_ICON_PREF_NETWM))
          {
-            o = e_util_desktop_icon_add(bd->desktop, 24, evas);
+             o = e_icon_add(evas);
             if (o)
-              return o;
+               {
+                  e_icon_fdo_icon_set(o, bd->desktop->icon);
+                  return o;
+               }
          }
        else if (bd->client.netwm.icons)
          {