Gtk.RecentManager.prototype.move_item

function move_item(uri:String, new_uri:String):Boolean {
    // Gjs wrapper for gtk_recent_manager_move_item()
}

Changes the location of a recently used resource from uri to new_uri.

Please note that this function will not affect the resource pointed by the URIs, but only the URI used in the recently used resources list.

Since 2.10

uri

the URI of a recently used resource

new_uri

the new URI of the recently used resource, or null to remove the item pointed by uri in the list

Returns

true on success.