upload_and_copy_sync


Description:

public string upload_and_copy_sync (string uuid) throws Error

Upload an item to a pastebin service, then have the daemon put the address it answers where the user can paste it -- added to the history, or on the clipboard alone should the history refuse it -- and answer it: what an upload offered to the user does.

An empty uuid uploads the current item. It fails as upload does; a refused add is not a failure. The D-Bus XML says why the daemon does it.

Parameters:

this

a Client instance

uuid

the uuid of the element we want to upload

Returns:

the url the item was uploaded to