diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-07-12 06:31:55 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-07-12 06:31:55 +0000 |
commit | 4e029c26ee4bca999bf39dda0b1b2d2bfe5101bc (patch) | |
tree | f6232c0f0fe543859787f92f1642b5cb54e3a41f /src/textview.c | |
parent | 85969fb751e0da20008a66b8f81e8196131da4da (diff) |
modified several alerts, and added accelerators for the buttons.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@421 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/textview.c')
-rw-r--r-- | src/textview.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/textview.c b/src/textview.c index 7cf93bd4..2123f8ba 100644 --- a/src/textview.c +++ b/src/textview.c @@ -2066,10 +2066,12 @@ static gboolean textview_uri_security_check(TextView *textview, RemoteURI *uri) msg = g_strdup_printf(_("The real URL (%s) is different from\n" "the apparent URL (%s).\n" + "\n" "Open it anyway?"), uri->uri, visible_str); - aval = alertpanel(_("Warning"), msg, - GTK_STOCK_YES, GTK_STOCK_NO, NULL); + aval = alertpanel_full(_("Fake URL warning"), msg, + ALERT_WARNING, G_ALERTDEFAULT, FALSE, + GTK_STOCK_YES, GTK_STOCK_NO, NULL); g_free(msg); if (aval == G_ALERTDEFAULT) retval = TRUE; |