- public void util_activate_ui (string action, Variant? arg)
Activate an action on a GPaste app
- public bool util_activate_ui_sync (string action, Variant? arg) throws Error
activate an action from GPaste Ui
- public void util_empty_with_confirmation (Client client, Settings settings, string history)
Empty a history after confirmation.
- public bool util_empty_with_confirmation_sync (Client client, Settings settings, string history) throws Error
Empty a history after confirmation.
- public bool util_ensure_history_dir_exists (Settings settings)
Ensure the history dir exists
- public uint32 util_get_dbus_au_result (Variant variant, uint64 len)
- public ClientItem util_get_dbus_item_result (Variant variant)
Get the "(ss)" GVariant as an item
- public List<ClientItem> util_get_dbus_items_result (Variant variant)
Get the "a(ss)" GVariant as a list of items
- public File util_get_history_dir ()
Get the directory where we store the history
- public string util_get_history_dir_path ()
Get the path to the directory where we store the history
- public File util_get_history_file (string name, string extension)
Get the file in which we store the history
- public string util_get_history_file_path (string name, string extension)
Get the path to the file in which we store the history
- public bool util_has_gnome_shell ()
Check whether gnome-shell is installed or not
- public Pid util_read_pid_file (string component)
Read the pid file
- public string util_replace (string text, string pattern, string substitution)
- public void util_spawn (string app)
spawn a GPaste app
- public bool util_spawn_sync (string app) throws Error
spawn a GPaste app
- public void util_write_pid_file (string component)
Write the pid file
- public string util_xml_decode (string text)
Decode the text to its original pre-xml form
- public string util_xml_encode (string text)
Encode the text into its xml form