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:
parent
516f994409
commit
01872ab746
@ -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>
|
2005-01-07 Glynn Foster <glynn.foster@sun.com>
|
||||||
|
|
||||||
* src/option.c, src/calendar.c: Really fix #162297, and
|
* src/option.c, src/calendar.c: Really fix #162297, and
|
||||||
|
@ -242,6 +242,10 @@ zenity_notification (ZenityData *data, ZenityNotificationData *notification_data
|
|||||||
GTK_ICON_SIZE_BUTTON);
|
GTK_ICON_SIZE_BUTTON);
|
||||||
gdk_pixbuf_unref (pixbuf);
|
gdk_pixbuf_unref (pixbuf);
|
||||||
} else {
|
} 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"));
|
g_warning ("Could not load notification icon : %s", ZENITY_IMAGE_FULLPATH ("zenity-notification.png"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user