Function
Plumautils_location_get_dirname_for_display
since: 1.0
Declaration [src]
gchar*
pluma_utils_location_get_dirname_for_display (
GFile* location
)
Description [src]
Returns a string suitable to be displayed in the UI indicating the name of the directory where the file is located. For remote files it may also contain the hostname etc. For local files it tries to replace the home dir with ~.
Available since: 1.0
Parameters
location-
Type:
GFileThe location.
The data is owned by the caller of the function.