diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-12-11 13:31:10 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-12-11 13:31:10 +0200 |
commit | 9cfa003658ff1df27284e409cbeda705496a808a (patch) | |
tree | 3a38e61ca1f831d602a8cbf9e3f1ee79d6f549c3 /src | |
parent | bc30bd9c1be76432ae0b6dcae6f61a9ee323852b (diff) | |
download | pies-9cfa003658ff1df27284e409cbeda705496a808a.tar.gz pies-9cfa003658ff1df27284e409cbeda705496a808a.tar.bz2 |
New meta-variable for notifications.
* src/progman.c (notify): New meta-var "instance".
Diffstat (limited to 'src')
-rw-r--r-- | src/progman.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/progman.c b/src/progman.c index e73a611..ffaf37b 100644 --- a/src/progman.c +++ b/src/progman.c @@ -1961,6 +1961,8 @@ notify (const char *tag, int status, struct action *act) { "retcode", NULL }, #define PROGRAM_NAME_IDX 6 { "program-name", NULL }, +#define INSTANCE_IDX 7 + { "instance", NULL }, { NULL } }; @@ -1968,6 +1970,7 @@ notify (const char *tag, int status, struct action *act) char buf[INT_BUFSIZE_BOUND (uintmax_t)]; mdef[COMPONENT_IDX].value = (char*) tag; + mdef[INSTANCE_IDX].value = (char*) tag; if (WIFEXITED (status)) { /* TRANSLATORS: The subject of this statement is 'component' */ |