Bug 748285 - Table header icons out of position with gtk+ 3.16

This commit is contained in:
Trinh Anh Ngoc
2015-04-23 12:53:16 +02:00
committed by Milan Crha
parent 9e7a804b50
commit 65fed2bb97

View File

@ -150,7 +150,7 @@ e_table_header_draw_button (cairo_t *cr,
gtk_style_context_save (context);
gtk_style_context_set_state (context, state_flags);
gtk_style_context_add_class (context, GTK_STYLE_CLASS_BUTTON);
if ((ecol->text && *ecol->text) || !ecol->icon_name)
if (!ecol->icon_name)
gtk_style_context_add_class (context, "text-button");
else
gtk_style_context_add_class (context, "image-button");