diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-03-02 17:12:11 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-03-02 17:12:11 -0500 |
| commit | 9d9ca8d1cf76a63767aef4bd74f5caceaad5ff23 (patch) | |
| tree | 7fb525dd73ef212ac01fad34e1db75681fce6a8c /openbox/actions | |
| parent | 14f4a0ba56b5e9619c9d9e65c0a3ede41595276e (diff) | |
allow prompts to have titles specified. show a prompt when there are syntax errors in the xml config files.
Diffstat (limited to 'openbox/actions')
| -rw-r--r-- | openbox/actions/execute.c | 2 | ||||
| -rw-r--r-- | openbox/actions/exit.c | 1 | ||||
| -rw-r--r-- | openbox/actions/session.c | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/openbox/actions/execute.c b/openbox/actions/execute.c index 636dbebf..cb3ab247 100644 --- a/openbox/actions/execute.c +++ b/openbox/actions/execute.c @@ -130,7 +130,7 @@ static gboolean run_func(ObActionsData *data, gpointer options) }; ocp = dup_options(options); - p = prompt_new(o->prompt, answers, 2, 0, 0, + p = prompt_new(o->prompt, _("Execute"), answers, 2, 0, 0, prompt_cb, prompt_cleanup, ocp); prompt_show(p, NULL, FALSE); diff --git a/openbox/actions/exit.c b/openbox/actions/exit.c index 67545cd2..875a181a 100644 --- a/openbox/actions/exit.c +++ b/openbox/actions/exit.c @@ -54,6 +54,7 @@ static gboolean run_func(ObActionsData *data, gpointer options) }; p = prompt_new(_("Are you sure you want to exit Openbox?"), + _("Exit Openbox"), answers, 2, 0, 0, prompt_cb, prompt_cleanup, NULL); prompt_show(p, NULL, FALSE); } diff --git a/openbox/actions/session.c b/openbox/actions/session.c index ef1497c1..8fb4f4d7 100644 --- a/openbox/actions/session.c +++ b/openbox/actions/session.c @@ -64,7 +64,7 @@ static gboolean logout_func(ObActionsData *data, gpointer options) }; o2 = g_memdup(o, sizeof(Options)); - p = prompt_new(_("Are you sure you want to log out?"), + p = prompt_new(_("Are you sure you want to log out?"), NULL, answers, 2, 0, 0, prompt_cb, prompt_cleanup, o2); prompt_show(p, NULL, FALSE); } |
