- 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.
This commit is contained in:
Christian Hammond 2005-11-09 08:52:25 +00:00
parent 02b010b0bb
commit 68998f6250
3 changed files with 12 additions and 2 deletions

View File

@ -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:

3
NEWS
View File

@ -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)

View File

@ -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)