talons

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

commit 62686c8f6f942c79706ed12cdc97ea10aad8c016
parent 9f24157d84365cfffeeff862898135e8894899a7
Author: Paul <paul@claws-mail.org>
Date:   Sat,  2 Sep 2017 10:44:48 +0100

fix bug 3852, 'delete header entry button doesn't restore colour'

Diffstat:
Msrc/compose.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/compose.c b/src/compose.c @@ -11708,6 +11708,8 @@ static gboolean compose_headerentry_button_clicked_cb (GtkWidget *button, ComposeHeaderEntry *headerentry) { gtk_entry_set_text(GTK_ENTRY(headerentry->entry), ""); + gtk_widget_modify_base(GTK_WIDGET(headerentry->entry), GTK_STATE_NORMAL, NULL); + gtk_widget_modify_text(GTK_WIDGET(headerentry->entry), GTK_STATE_NORMAL, NULL); return FALSE; }