summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2005-01-09 20:13:18 +0000
committerGlynn Foster <gman@src.gnome.org>2005-01-09 20:13:18 +0000
commit01872ab746227b3d38faa8f746c504af0defc39a (patch)
treed520d22dc55e7907a9e70c13b21133e118efee28
parentReally fix #162297, and preload the current dates if they aren't already (diff)
downloadzenity-01872ab746227b3d38faa8f746c504af0defc39a.tar.gz
zenity-01872ab746227b3d38faa8f746c504af0defc39a.tar.bz2
zenity-01872ab746227b3d38faa8f746c504af0defc39a.zip
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.
-rw-r--r--ChangeLog5
-rw-r--r--src/notification.c6
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5a42bb05..25294746 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
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
preload the current dates if they aren't already set.
diff --git a/src/notification.c b/src/notification.c
index 4dcc63d7..63b15116 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;
}
bgstack15