From: Richard Kettlewell Date: Fri, 19 Oct 2007 20:08:36 +0000 (+0100) Subject: title and better prompts for overwrite window X-Git-Tag: debian-1_5_99dev8~108 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/66bfc301e1b7955f6613c26a6bb016448a0b8c7b title and better prompts for overwrite window --- diff --git a/disobedience/login.c b/disobedience/login.c index 0c50a9c..c6e91ec 100644 --- a/disobedience/login.c +++ b/disobedience/login.c @@ -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;