mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Fix handling of icons in GNotification
The fdo backend was sending a uri where a file path was expected.
This commit is contained in:
parent
65af7c47ff
commit
5616e03f7a
@ -246,7 +246,7 @@ call_notify (GDBusConnection *con,
|
||||
|
||||
file = g_file_icon_get_file (G_FILE_ICON (icon));
|
||||
g_variant_builder_add (&hints_builder, "{sv}", "image-path",
|
||||
g_variant_new_take_string (g_file_get_uri (file)));
|
||||
g_variant_new_take_string (g_file_get_path (file)));
|
||||
}
|
||||
|
||||
body = g_notification_get_body (notification);
|
||||
|
Loading…
Reference in New Issue
Block a user