talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit ce219a1a5b6c2b86ffdb5647f5ef9370ae2a5fd7
parent e7572400ea0a83394dfd155e7fade24359644754
Author: paul <paul@claws-mail.org>
Date:   Wed, 28 Oct 2020 12:53:01 +0000

improve sizes of alertpanels

Diffstat:
Msrc/alertpanel.c | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/alertpanel.c b/src/alertpanel.c @@ -1,6 +1,6 @@ /* * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2019 the Claws Mail team and Hiroyuki Yamamoto + * Copyright (C) 1999-2020 the Claws Mail team and Hiroyuki Yamamoto * * 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 @@ -256,11 +256,9 @@ static void alertpanel_create(const gchar *title, window = gtk_window_new(GTK_WINDOW_TOPLEVEL); manage_window_set_transient(GTK_WINDOW(window)); gtk_window_set_title(GTK_WINDOW(window), title); - gtk_window_set_resizable(GTK_WINDOW(window), TRUE); gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG); gtk_window_set_modal(GTK_WINDOW(window), TRUE); - gtk_window_set_default_size(GTK_WINDOW(window), -1, 100); gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER); g_signal_connect(G_OBJECT(window), "delete_event", @@ -331,7 +329,6 @@ static void alertpanel_create(const gchar *title, label = gtk_label_new(message); gtk_label_set_xalign(GTK_LABEL(label), 0.0); 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_set_can_focus(label, FALSE);