Correct error message for notification icon. Fixes #163462.

2005-01-07  Glynn Foster  <glynn.foster@sun.com>

        * src/notification.c: Correct error message for notification
	icon. Fixes #163462.
This commit is contained in:
Glynn Foster 2005-01-09 20:13:18 +00:00 committed by Glynn Foster
parent 516f994409
commit 01872ab746
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-01-07 Glynn Foster <glynn.foster@sun.com>
* src/notification.c: Correct error message for notification
icon. Fixes #163462.
2005-01-07 Glynn Foster <glynn.foster@sun.com>
* src/option.c, src/calendar.c: Really fix #162297, and

View File

@ -242,6 +242,10 @@ zenity_notification (ZenityData *data, ZenityNotificationData *notification_data
GTK_ICON_SIZE_BUTTON);
gdk_pixbuf_unref (pixbuf);
} else {
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;
}