Bug 748285 - Table header icons out of position with gtk+ 3.16
This commit is contained in:
committed by
Milan Crha
parent
9e7a804b50
commit
65fed2bb97
@ -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");
|
||||
|
||||
Reference in New Issue
Block a user