]> Dogcows Code - chaz/openbox/commitdiff
tell what signal is going to be sent to the client when killing through the dialog
authorDana Jansens <danakj@orodu.net>
Thu, 7 Feb 2008 06:46:40 +0000 (01:46 -0500)
committerDana Jansens <danakj@orodu.net>
Thu, 14 Feb 2008 19:24:37 +0000 (14:24 -0500)
openbox/client.c

index ed2e5b561e1c75a214de30b36817a967ee445bb6..c8c6c93b513ca130dc127eb6bec0ed19cd65999a 100644 (file)
@@ -3408,9 +3408,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.025834 seconds and 4 git commands to generate.