Creates a new DockElement for a launcher parsed from a .dockitem.
file |
the GLib.File of .dockitem file that was parsed |
launcher |
the launcher name from the .dockitem |
the new DockElement created |