AppInfoIF.setAsLastUsedForType

Sets the application as the last used application for a given type. This will make the application appear as first in the list returned by g_app_info_get_recommended_for_type(), regardless of the default application for that content type.

interface AppInfoIF
bool
setAsLastUsedForType
()

Parameters

contentType string

the content type.

Return Value

Type: bool

%TRUE on success, %FALSE on error.

Throws

GException on failure.

Meta