Fix handling of icons in GNotification

The fdo backend was sending a uri where a file path
was expected.
This commit is contained in:
Matthias Clasen 2013-10-28 12:31:31 -04:00
parent 65af7c47ff
commit 5616e03f7a

View File

@ -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);