Functions
xviewer_util_show_help ()
void
xviewer_util_show_help (const gchar *section
,
GtkWindow *parent
);
xviewer_util_make_valid_utf8 ()
gchar *
xviewer_util_make_valid_utf8 (const gchar *name
);
xviewer_util_parse_uri_string_list_to_file_list ()
GSList *
xviewer_util_parse_uri_string_list_to_file_list
(const gchar *uri_list
);
xviewer_util_string_list_to_file_list ()
GSList *
xviewer_util_string_list_to_file_list (GSList *string_list
);
xviewer_util_strings_to_file_list ()
GSList *
xviewer_util_strings_to_file_list (gchar **strings
);
xviewer_util_string_array_to_list ()
GSList *
xviewer_util_string_array_to_list (const gchar **files
,
gboolean create_uri
);
xviewer_util_string_array_make_absolute ()
gchar **
xviewer_util_string_array_make_absolute
(gchar **files
);
xviewer_util_launch_desktop_file ()
gboolean
xviewer_util_launch_desktop_file (const gchar *filename
,
guint32 user_time
);
xviewer_util_dot_dir ()
const gchar *
xviewer_util_dot_dir (void
);
xviewer_util_file_is_persistent ()
gboolean
xviewer_util_file_is_persistent (GFile *file
);
Checks whether file
is a non-removable local mount.
Returns
TRUE
if file
is in a non-removable mount,
FALSE
otherwise or when it is remote.
xviewer_util_filename_get_extension ()
char *
xviewer_util_filename_get_extension (const char *filename
);
Returns a reasonably good guess of the file extension of filename
.
Returns
a newly allocated string with the file extension of filename
.