chiark / gitweb /
title and better prompts for overwrite window
authorRichard Kettlewell <rjk@greenend.org.uk>
Fri, 19 Oct 2007 20:08:36 +0000 (21:08 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Fri, 19 Oct 2007 20:08:36 +0000 (21:08 +0100)
disobedience/login.c

index 0c50a9cf7c96c78f3489d72aaca5eac5f9f5b350..c6e91ec5b85fa391ecaf8ca5f9ed9fb8096fdd68 100644 (file)
@@ -125,10 +125,12 @@ static void login_save(GtkButton attribute((unused)) *button,
        GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT,
        GTK_MESSAGE_QUESTION,
        GTK_BUTTONS_NONE,
-       "File %s already exists", path);
+       "File %s already exists.", path);
+    gtk_window_set_title(GTK_WINDOW(yorn),
+                         "Configuration file already exists");
     gtk_dialog_add_buttons(GTK_DIALOG(yorn),
-                           "Overwrite", GTK_RESPONSE_ACCEPT,
-                           "Cancel", GTK_RESPONSE_REJECT,
+                           "Overwrite it", GTK_RESPONSE_ACCEPT,
+                           "Don't save after all", GTK_RESPONSE_REJECT,
                            (char *)0);
     if(gtk_dialog_run(GTK_DIALOG(yorn)) != GTK_RESPONSE_ACCEPT)
       goto done;