/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2005 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2006 Hiroyuki Yamamoto and the Sylpheed-Claws team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
#define TITLE_HEIGHT 72
#define MESSAGE_HEIGHT 62
-static gboolean alertpanel_is_open = FALSE;
+gboolean alertpanel_is_open = FALSE;
static AlertValue value;
static GtkWidget *dialog;
mainwin = mainwindow_get_mainwindow();
if (mainwin && mainwin->logwin) {
- val = alertpanel_full(_("Error"), buf, GTK_STOCK_OK,
- _("View log"), NULL, FALSE, NULL,
+ val = alertpanel_full(_("Error"), buf, GTK_STOCK_CLOSE,
+ _("_View log"), NULL, FALSE, NULL,
ALERT_ERROR, G_ALERTDEFAULT);
if (val == G_ALERTALTERNATE)
log_window_show(mainwin->logwin);
gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT);
gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
gtk_label_set_selectable(GTK_LABEL(label), TRUE);
+ gtk_label_set_use_markup(GTK_LABEL(label), TRUE);
GTK_WIDGET_UNSET_FLAGS(label, GTK_CAN_FOCUS);
gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0);
gtk_widget_show(label);