chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
458620c
)
title and better prompts for overwrite window
author
Richard Kettlewell
<rjk@greenend.org.uk>
Fri, 19 Oct 2007 20:08:36 +0000
(21:08 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Fri, 19 Oct 2007 20:08:36 +0000
(21:08 +0100)
disobedience/login.c
patch
|
blob
|
blame
|
history
diff --git
a/disobedience/login.c
b/disobedience/login.c
index 0c50a9cf7c96c78f3489d72aaca5eac5f9f5b350..c6e91ec5b85fa391ecaf8ca5f9ed9fb8096fdd68 100644
(file)
--- 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,
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),
gtk_dialog_add_buttons(GTK_DIALOG(yorn),
- "Overwrite", GTK_RESPONSE_ACCEPT,
- "
Cance
l", GTK_RESPONSE_REJECT,
+ "Overwrite
it
", GTK_RESPONSE_ACCEPT,
+ "
Don't save after al
l", GTK_RESPONSE_REJECT,
(char *)0);
if(gtk_dialog_run(GTK_DIALOG(yorn)) != GTK_RESPONSE_ACCEPT)
goto done;
(char *)0);
if(gtk_dialog_run(GTK_DIALOG(yorn)) != GTK_RESPONSE_ACCEPT)
goto done;