diff options
author | Christian Hammond <chipx86@chipx86.com> | 2005-11-09 08:52:25 +0000 |
---|---|---|
committer | Christian Hammond <chipx86@chipx86.com> | 2005-11-09 08:52:25 +0000 |
commit | 68998f6250bb7ff89fd56861777ae68cdd54e0a6 (patch) | |
tree | 14f91ed0b7a363e8c38bec715bf95df1a03d22a3 | |
parent | 02b010b0bbf6987f7c1f1eeee299bd326b6be511 (diff) | |
download | libnotify-68998f6250bb7ff89fd56861777ae68cdd54e0a6.tar.gz |
- 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.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | tools/notify-send.c | 4 |
3 files changed, 12 insertions, 2 deletions
@@ -1,3 +1,10 @@ +Wed Nov 09 00:50:23 PST 2005 Christian Hammond <chipx86@chipx86.com> + + * 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 <chipx86@chipx86.com> * tests/Makefile.am: @@ -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) |