             app?.routers.main.navigate "/apps/#{slug}/#{newhash}", false
         @resetLayoutSizes()
 
-    changeFavicon: (url) ->
-        @favicon?.remove()
-        @favicon2?.remove()
-        newfav = '<link rel="icon" type="image/x-icon" href="' + url + '" />"'
-        @favicon = $ newfav
-        @favicon2 = @favicon.clone().attr 'rel', 'shortcut icon'
-        $('head').append @favicon, @favicon2
-
     ### Configuration ###
 
     # Small trick to size properly iframe.

            $('#home-content').append view.$el
            view.$el.fadeIn()
            @currentView = view
            @changeFavicon "favicon.ico"
            @resetLayoutSizes()

        if @currentView?

        name = '' if not name?
        window.document.title = "Cozy - #{name}"
        $("#current-application").html name
        @resetLayoutSizes()

    createApplicationIframe: (slug, hash="") ->
