Method

GioDesktopAppInfoget_action_name

since: 2.38

Declaration

gchar*
g_desktop_app_info_get_action_name (
  GDesktopAppInfo* info,
  const gchar* action_name
)

Description

Gets the user-visible display name of the “additional application action” specified by action_name.

This corresponds to the “Name” key within the keyfile group for the action.

Available since: 2.38

Parameters

action_name

Type: const gchar*

The name of the action as from g_desktop_app_info_list_actions()

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: gchar*

The locale-specific action name.

The caller of the method takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.