fix bug 3852, 'delete header entry button doesn't restore colour'
authorPaul <paul@claws-mail.org>
Sat, 2 Sep 2017 09:44:48 +0000 (10:44 +0100)
committerPaul <paul@claws-mail.org>
Sat, 2 Sep 2017 09:44:48 +0000 (10:44 +0100)
src/compose.c

index 81747bb5359ddca42b1df2d71ebffc86c6213417..eef03d591ad3238051907e6477c170017d23657d 100644 (file)
@@ -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;
 }