mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
resourcefile: Set display name
Fixes resource filenames not being printed in CSS warnings for GTK. https://bugzilla.gnome.org/show_bug.cgi?id=674345
This commit is contained in:
parent
289e3b9143
commit
b38f1c7aff
@ -465,6 +465,7 @@ g_resource_file_query_info (GFile *file,
|
||||
info = g_file_info_new ();
|
||||
base = g_resource_file_get_basename (file);
|
||||
g_file_info_set_name (info, base);
|
||||
g_file_info_set_display_name (info, base);
|
||||
|
||||
_g_file_info_set_attribute_boolean_by_id (info, G_FILE_ATTRIBUTE_ID_ACCESS_CAN_READ, TRUE);
|
||||
_g_file_info_set_attribute_boolean_by_id (info, G_FILE_ATTRIBUTE_ID_ACCESS_CAN_WRITE, FALSE);
|
||||
|
Loading…
Reference in New Issue
Block a user