]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
tell what signal is going to be sent to the client when killing through the dialog
[chaz/openbox] / openbox / client.c
index 1e994e3967f2af03b438dc488000625f399500a1..a54feb8bcc58047b4da6733a6884be18ae09d689 100644 (file)
@@ -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]),
This page took 0.024709 seconds and 4 git commands to generate.