aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-memo-table.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-08-26 01:28:51 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-09-14 20:08:56 +0800
commit36df40c1875388fc0825f38bf6150d98a9db6a89 (patch)
tree1513b02912a8f89933f6de66a0ec04f3f367a6cf /calendar/gui/e-memo-table.c
parentd811b9384f4dc7b750cca417f3a3879bc6f7ccf4 (diff)
downloadgsoc2013-evolution-36df40c1875388fc0825f38bf6150d98a9db6a89.tar.gz
gsoc2013-evolution-36df40c1875388fc0825f38bf6150d98a9db6a89.tar.zst
gsoc2013-evolution-36df40c1875388fc0825f38bf6150d98a9db6a89.zip
Bug #655708 - Unreadable tooltip for Memo/Task
Diffstat (limited to 'calendar/gui/e-memo-table.c')
-rw-r--r--calendar/gui/e-memo-table.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/calendar/gui/e-memo-table.c b/calendar/gui/e-memo-table.c
index ec6862199f..d8388d066b 100644
--- a/calendar/gui/e-memo-table.c
+++ b/calendar/gui/e-memo-table.c
@@ -549,6 +549,8 @@ memo_table_query_tooltip (GtkWidget *widget,
gtk_misc_set_alignment (GTK_MISC (l), 0.0, 0.5);
gtk_box_pack_start (GTK_BOX (w), l, FALSE, FALSE, 0);
g_free (tmp);
+
+ gtk_widget_modify_fg (l, GTK_STATE_NORMAL, &(style->text[GTK_STATE_NORMAL]));
}
e_cal_component_get_dtstart (new_comp, &dtstart);
@@ -611,6 +613,8 @@ memo_table_query_tooltip (GtkWidget *widget,
l = gtk_label_new (tmp2->str);
gtk_misc_set_alignment (GTK_MISC (l), 0.0, 0.5);
gtk_box_pack_start (GTK_BOX (w), l, FALSE, FALSE, 0);
+
+ gtk_widget_modify_fg (l, GTK_STATE_NORMAL, &(style->text[GTK_STATE_NORMAL]));
}
g_string_free (tmp2, TRUE);
@@ -638,7 +642,9 @@ memo_table_query_tooltip (GtkWidget *widget,
if (tmp2->len) {
l = gtk_label_new (tmp2->str);
gtk_misc_set_alignment (GTK_MISC (l), 0.0, 0.5);
- gtk_box_pack_start (GTK_BOX (box), l, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (w), l, FALSE, FALSE, 0);
+
+ gtk_widget_modify_fg (l, GTK_STATE_NORMAL, &(style->text[GTK_STATE_NORMAL]));
}
g_string_free (tmp2, TRUE);