[Galago-commits] r2619 - in trunk/libnotify: . tools
galago-commits at freedesktop.org
galago-commits at freedesktop.org
Mon Mar 20 14:17:16 PST 2006
Author: chipx86
Date: 2006-03-20 14:17:10 -0800 (Mon, 20 Mar 2006)
New Revision: 2619
Modified:
trunk/libnotify/ChangeLog
trunk/libnotify/tools/notify-send.c
Log:
- Change the help for notify-send to indicate that --expire-timeout requires milliseconds, not seconds. This fixes bug #28.
- Fixed the short flag for --type to be -T. This fixes bug #18.
Modified: trunk/libnotify/ChangeLog
===================================================================
--- trunk/libnotify/ChangeLog 2006-03-20 08:26:50 UTC (rev 2618)
+++ trunk/libnotify/ChangeLog 2006-03-20 22:17:10 UTC (rev 2619)
@@ -1,3 +1,10 @@
+Mon Mar 20 14:12:15 PST 2006 Christian Hammond <chipx86 at chipx86.com>
+
+ * tools/notify-send.c:
+ - Change the help for notify-send to indicate that --expire-timeout
+ requires milliseconds, not seconds. This fixes bug #28.
+ - Fixed the short flag for --type to be -T. This fixes bug #18.
+
Sat Mar 18 14:47:53 PST 2006 Christian Hammond <chipx86 at chipx86.com>
* tools/notify-send.c:
Modified: trunk/libnotify/tools/notify-send.c
===================================================================
--- trunk/libnotify/tools/notify-send.c 2006-03-20 08:26:50 UTC (rev 2618)
+++ trunk/libnotify/tools/notify-send.c 2006-03-20 22:17:10 UTC (rev 2619)
@@ -51,20 +51,20 @@
NULL },
{ "expire-time", 't', POPT_ARG_INT | POPT_ARGFLAG_STRIP,
&expire_timeout, 0,
- N_("Specifies the timeout in seconds at which to expire the "
+ N_("Specifies the timeout in milliseconds at which to expire the "
"notification."),
NULL },
{ "icon", 'i', POPT_ARG_STRING | POPT_ARGFLAG_STRIP, &icons, 0,
N_("Specifies an icon filename or stock icon to display."),
- N_("ICON1,ICON2,...") },
- { "type", 't', POPT_ARG_STRING | POPT_ARGFLAG_STRIP, &type, 0,
+ N_("ICON") },
+ { "type", 'T', POPT_ARG_STRING | POPT_ARGFLAG_STRIP, &type, 0,
N_("Specifies the notification type."),
- N_("ICON1,ICON2,...") },
+ N_("TYPE") },
POPT_AUTOHELP
POPT_TABLEEND
};
- g_type_init ();
+ g_type_init();
opt_ctx = poptGetContext("notify-send", argc, argv, options, 0);
poptSetOtherOptionHelp(opt_ctx, "[OPTIONS]* <summary> [body]");
More information about the galago-commits
mailing list