util_empty_with_confirmation_sync


Description:


public bool util_empty_with_confirmation_sync (Client client, Settings settings, string history) throws Error

Empty a history after confirmation.

Confirmation is skipped if GPaste is configured to do so.

Parameters:

client

a Client instance

settings

a Settings instance

history

the name of the history to empty

Returns:

whether the action was successful


Namespace: GPaste
Package: gpaste-2