diff finch/gntcertmgr.c @ 22257:8233bbcf3e86

The Gnome Human Interface Guidelines say, "if pressing this button by mistake could cause a loss of data, do not set a default button for the window. Do not make Cancel the default button instead." So I changed our account deletion dialog to not have a default action. For things like deleting a buddy or a certificate I think it makes sense to have the default be "yes" because it's much less severe than deleting an account (which deletes your buddies, contacts, etc).
author Mark Doliner <mark@kingant.net>
date Sun, 03 Feb 2008 11:39:59 +0000
parents 5152a14d06a3
children f7c5bb2f6623
line wrap: on
line diff
--- a/finch/gntcertmgr.c	Sun Feb 03 11:36:33 2008 +0000
+++ b/finch/gntcertmgr.c	Sun Feb 03 11:39:59 2008 +0000
@@ -234,7 +234,7 @@
 	purple_request_close_with_handle((void *)key);
 	purple_request_yes_no((void *)key, _("Confirm certificate delete"),
 			primary, NULL,
-			1,
+			0,
 			NULL, NULL, NULL,
 			g_strdup(key),
 			tls_peers_mgmt_delete_confirm_cb,