def setup_desktop_icons(data):
 from frappe.desk.doctype.desktop_icon.desktop_icon import set_desktop_icons
 if data.desktop_icons:
  set_desktop_icons(data.desktop_icons)

def setup_desktop_icons ( data ) : from frappe . desk . doctype . desktop_icon . desktop_icon import set_desktop_icons if data . desktop_icons : set_desktop_icons ( data . desktop_icons )
set desktop icons form data .