diff --git a/ChangeLog b/ChangeLog index a10f247..0111c72 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Wed Nov 09 00:50:23 PST 2005 Christian Hammond + + * tools/notify-send.c: + - Call notify_icon_new_from_uri() and not notify_icon_new(), + since notify_icon_new() doesn't actually take parameters. + - Fix the help for --type. + Sun Nov 06 16:33:30 PST 2005 Christian Hammond * tests/Makefile.am: diff --git a/NEWS b/NEWS index 98ceb23..06b279e 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +version 0.2.3: + * Fix notify-send to work with icon parameters. + version 0.2.2 (10-August-2005): * Fixed many run-time issues with PPC and AMD64 (Martin Pitt) diff --git a/tools/notify-send.c b/tools/notify-send.c index dd07be4..8e0748a 100644 --- a/tools/notify-send.c +++ b/tools/notify-send.c @@ -57,7 +57,7 @@ main(int argc, const char **argv) N_("ICON1,ICON2,...") }, { "type", 't', POPT_ARG_STRING | POPT_ARGFLAG_STRIP, &type, 0, N_("Specifies the notification type."), - N_("ICON1,ICON2,...") }, + N_("TYPE") }, POPT_AUTOHELP POPT_TABLEEND }; @@ -100,7 +100,7 @@ main(int argc, const char **argv) icon_str = icons; - icon = notify_icon_new(icon_str); + icon = notify_icon_new_from_uri(icon_str); } if (urgency_str != NULL)