summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hammond <chipx86@chipx86.com>2005-11-09 08:52:25 +0000
committerChristian Hammond <chipx86@chipx86.com>2005-11-09 08:52:25 +0000
commit68998f6250bb7ff89fd56861777ae68cdd54e0a6 (patch)
tree14f91ed0b7a363e8c38bec715bf95df1a03d22a3
parent02b010b0bbf6987f7c1f1eeee299bd326b6be511 (diff)
downloadlibnotify-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--ChangeLog7
-rw-r--r--NEWS3
-rw-r--r--tools/notify-send.c4
3 files changed, 12 insertions, 2 deletions
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 <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:
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)