[Commits] prefs_matcher.c 1.43.2.100 1.43.2.101

colin at claws-mail.org colin at claws-mail.org
Tue Nov 20 23:07:57 CET 2012


Update of /home/claws-mail/claws/src
In directory srv:/tmp/cvs-serv3452/src

Modified Files:
      Tag: gtk2
	prefs_matcher.c 
Log Message:
2012-11-20 [colin]	3.9.0cvs17

	* src/prefs_matcher.c
		Fix bug #2801, "Filtering Header:Name list is blank/corrupt"

Index: prefs_matcher.c
===================================================================
RCS file: /home/claws-mail/claws/src/prefs_matcher.c,v
retrieving revision 1.43.2.100
retrieving revision 1.43.2.101
diff -u -d -r1.43.2.100 -r1.43.2.101
--- prefs_matcher.c	18 Nov 2012 19:50:36 -0000	1.43.2.100
+++ prefs_matcher.c	20 Nov 2012 22:07:55 -0000	1.43.2.101
@@ -652,6 +652,10 @@
 	headers_combo = gtk_combo_box_entry_new_with_model(matcher.model_headers, 0);
 #else
 	headers_combo = gtk_combo_box_new_with_model_and_entry(matcher.model_headers);
+	GtkCellRenderer *cell = gtk_cell_renderer_text_new();
+	gtk_cell_renderer_set_alignment(cell, 0.0, 0.5);
+	gtk_cell_layout_pack_start(GTK_CELL_LAYOUT(headers_combo), cell, TRUE);
+	gtk_combo_box_set_entry_text_column(headers_combo, 0);
 #endif
 	gtk_widget_set_size_request(headers_combo, 100, -1);
 	gtk_box_pack_start(GTK_BOX(upper_hbox), headers_combo, TRUE, TRUE, 0);



More information about the Commits mailing list