diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-02-07 01:46:40 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-02-07 02:14:45 -0500 |
| commit | a3babc4a995d31e44a626448e28d607be3c33197 (patch) | |
| tree | b4ef17e1603697378121317c5e40faef60834054 /openbox | |
| parent | aeb1ebd04d9f41803cd7e408c1f73004d098c85f (diff) | |
tell what signal is going to be sent to the client when killing through the dialog
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/client.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c index 1e994e39..a54feb8b 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -3316,9 +3316,15 @@ static void client_prompt_kill(ObClient *self) { _("Yes"), OB_KILL_RESULT_YES } }; gchar *m; + const gchar *sig; + + if (self->kill_level == 0) + sig = "terminate"; + else + sig = "kill"; m = g_strdup_printf - (_("The window \"%s\" does not seem to be responding. Do you want to force it to exit?"), self->original_title); + (_("The window \"%s\" does not seem to be responding. Do you want to force it to exit by sending the %s signal?"), self->original_title, sig); self->kill_prompt = prompt_new(m, answers, sizeof(answers)/sizeof(answers[0]), |
