From 01872ab746227b3d38faa8f746c504af0defc39a Mon Sep 17 00:00:00 2001 From: Glynn Foster Date: Sun, 9 Jan 2005 20:13:18 +0000 Subject: Correct error message for notification icon. Fixes #163462. 2005-01-07 Glynn Foster * src/notification.c: Correct error message for notification icon. Fixes #163462. --- src/notification.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/notification.c b/src/notification.c index 4dcc63d..63b1511 100644 --- a/src/notification.c +++ b/src/notification.c @@ -242,7 +242,11 @@ zenity_notification (ZenityData *data, ZenityNotificationData *notification_data GTK_ICON_SIZE_BUTTON); gdk_pixbuf_unref (pixbuf); } else { - g_warning ("Could not load notification icon : %s", ZENITY_IMAGE_FULLPATH ("zenity-notification.png")); + if (data->window_icon != NULL) { + g_warning ("Could not load notification icon : %s", data->window_icon); + } + else + g_warning ("Could not load notification icon : %s", ZENITY_IMAGE_FULLPATH ("zenity-notification.png")); return; } -- cgit v1.2.3-2-g168b