[glib] Fix handling of icons in GNotification



commit 5616e03f7a89a7dc83438b82e71d31e6456d2675
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Oct 28 12:31:31 2013 -0400

    Fix handling of icons in GNotification
    
    The fdo backend was sending a uri where a file path
    was expected.

 gio/gfdonotificationbackend.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gfdonotificationbackend.c b/gio/gfdonotificationbackend.c
index a12203e..a667a2d 100644
--- a/gio/gfdonotificationbackend.c
+++ b/gio/gfdonotificationbackend.c
@@ -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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]