[evolution/gnome-3-16] Bug 748285 - Table header icons out of position with gtk+ 3.16
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-16] Bug 748285 - Table header icons out of position with gtk+ 3.16
- Date: Thu, 23 Apr 2015 10:55:08 +0000 (UTC)
commit d27c4d92fba037e3ab3e9d45008cd751892d8608
Author: Trinh Anh Ngoc <atw1990 gmail com>
Date: Thu Apr 23 12:53:16 2015 +0200
Bug 748285 - Table header icons out of position with gtk+ 3.16
e-util/e-table-header-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-table-header-utils.c b/e-util/e-table-header-utils.c
index 1430db6..eb4d8fe 100644
--- a/e-util/e-table-header-utils.c
+++ b/e-util/e-table-header-utils.c
@@ -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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]