[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-839-g0db1fd2fd

paul at claws-mail.org paul at claws-mail.org
Tue Nov 19 10:40:07 CET 2019


The branch, gtk3 has been updated
       via  0db1fd2fdaff073b5c5504b36165c43d777f819b (commit)
      from  e39dd37bd199e17f225ee088011b47cd470c09b2 (commit)

Summary of changes:
 src/folderview.c   | 5 ++---
 src/sourcewindow.c | 1 -
 2 files changed, 2 insertions(+), 4 deletions(-)


- Log -----------------------------------------------------------------
commit 0db1fd2fdaff073b5c5504b36165c43d777f819b
Author: paul <paul at claws-mail.org>
Date:   Tue Nov 19 10:40:00 2019 +0000

    fix merging errors

diff --git a/src/folderview.c b/src/folderview.c
index aa0e568fb..2a0462a3c 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -1733,9 +1733,8 @@ static void folderview_update_node(FolderView *folderview, GtkCMCTreeNode *node)
 		}
 	} else if (use_color) {
 		gtk_cmctree_node_set_foreground(ctree, node, &folderview->color_new);
-	} else if (item->prefs->color != 0) {
-		gtkut_convert_int_to_gdk_color(item->prefs->color, &gdk_color);
-		gtk_cmctree_node_set_foreground(ctree, node, &gdk_color);
+	} else if (!gdk_rgba_equal(&item->prefs->color, &black)) {
+		gtk_cmctree_node_set_foreground(ctree, node, &item->prefs->color);
 	}
 
 	gtk_cmctree_node_set_row_style(ctree, node, style);
diff --git a/src/sourcewindow.c b/src/sourcewindow.c
index f51f896c5..f188c0fb6 100644
--- a/src/sourcewindow.c
+++ b/src/sourcewindow.c
@@ -64,7 +64,6 @@ SourceWindow *source_window_create(void)
 	window = gtkut_window_new(GTK_WINDOW_TOPLEVEL, "sourcewindow");
 	gtk_window_set_title(GTK_WINDOW(window), _("Source of the message"));
 	gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
-	gtk_window_set_default_size(GTK_WINDOW(window), prefs_common.sourcewin_width,
 	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	gtk_widget_set_size_request(window, prefs_common.sourcewin_width,
 				    prefs_common.sourcewin_height);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list