aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-08-26 01:28:51 +0800
committerMilan Crha <mcrha@redhat.com>2011-08-26 01:29:41 +0800
commita53c11fd0af71ecbec3a643a4cbe62d3b6ea8883 (patch)
treed59d1e0a19b09d9998efb5e38e6035722d20579b /calendar
parente408bda1ef4c7f54642d41274b888481da3be2cd (diff)
downloadgsoc2013-evolution-a53c11fd0af71ecbec3a643a4cbe62d3b6ea8883.tar.gz
gsoc2013-evolution-a53c11fd0af71ecbec3a643a4cbe62d3b6ea8883.tar.zst
gsoc2013-evolution-a53c11fd0af71ecbec3a643a4cbe62d3b6ea8883.zip
Bug #655708 - Unreadable tooltip for Memo/Task
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/e-memo-table.c8
-rw-r--r--calendar/gui/e-task-table.c10
2 files changed, 16 insertions, 2 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);
diff --git a/calendar/gui/e-task-table.c b/calendar/gui/e-task-table.c
index c77c0a8a52..9125206196 100644
--- a/calendar/gui/e-task-table.c
+++ b/calendar/gui/e-task-table.c
@@ -770,6 +770,8 @@ task_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);
@@ -830,6 +832,8 @@ task_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);
@@ -846,6 +850,8 @@ task_table_query_tooltip (GtkWidget *widget,
g_free (tmp);
tmp = NULL;
+
+ gtk_widget_modify_fg (l, GTK_STATE_NORMAL, &(style->text[GTK_STATE_NORMAL]));
}
tmp2 = g_string_new ("");
@@ -869,7 +875,9 @@ task_table_query_tooltip (GtkWidget *widget,
l = gtk_label_new (tmp2->str);
gtk_label_set_line_wrap (GTK_LABEL (l), TRUE);
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);
a>Jeffrey Wilcke2015-03-23144-13116/+4986 |\ \ \ \ \ \ | * | | | | | fixed jsre testzsfelfoldi2015-03-201-1/+1 | * | | | | | using robertkrimen/otto, godeps updatedzsfelfoldi2015-03-20144-13116/+4986 * | | | | | | Merge branch 'ethersphere-jsonlog' into developobscuren2015-03-239-110/+105 |\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | * | | | | | Merge branch 'jsonlog' of https://github.com/ethersphere/go-ethereum into eth...obscuren2015-03-239-110/+105 |/| | | | | | | * | | | | | fix blockpool test loggerzelig2015-03-221-12/+6 | * | | | | | independent flag for json structured loggingzelig2015-03-228-95/+95 * | | | | | | check for nil ptrsobscuren2015-03-221-2/+2 * | | | | | | Get work / submit work partially implemented.obscuren2015-03-225-8/+101 | |_|/ / / / |/| | | | | * | | | | | Merge pull request #526 from ethersphere/frontier/blockpoolJeffrey Wilcke2015-03-224-28/+31 |\ \ \ \ \ \ | * | | | | | Idle too long error incorrectly triggered even when peer sending new blockszelig2015-03-224-28/+31 | |/ / / / / * | | | | | bumpobscuren2015-03-221-1/+1 * | | | | | converted to proper typesobscuren2015-03-221-29/+29 |/ / / / / * | | | | Merge branch 'conversion' into developobscuren2015-03-22117-2346/+3812 |\ \ \ \ \ | * | | | | Added new ethereum.jsobscuren2015-03-211-1/+1 | * | | | | Merge branch 'develop' into conversionobscuren2015-03-211-3/+3 | |\ \ \ \ \ | * \ \ \ \ \ Merge branch 'develop' into conversionobscuren2015-03-216-7/+32 | |\ \ \ \ \ \ | * | | | | | | Removed some commentsobscuren2015-03-212-3/+3 | * | | | | | | Fixed state testsobscuren2015-03-211-8/+5 | * | | | | | | Fixed incorrect recipient derivedobscuren2015-03-211-1/+1 | * | | | | | | Merge branch 'conversion' of github.com-obscure:ethereum/go-ethereum into con...obscuren2015-03-2116-355/+201 | |\ \ \ \ \ \ \ | | * | | | | | | whisper: use common.HashFelix Lange2015-03-214-41/+34 | | * | | | | | | eth: enable whisper againFelix Lange2015-03-211-1/+1 | | * | | | | | | whisper: use package rlpFelix Lange2015-03-212-37/+24 | | * | | | | | | rlp: add Stream.RawFelix Lange2015-03-213-12/+59 | | * | | | | | | Merge remote-tracking branch 'ethereum/conversion' into conversionFelix Lange2015-03-2133-1279/+1522 | | |\ \ \ \ \ \ \ | | * | | | | | | | cmd/blocktest: delete packageFelix Lange2015-03-211-213/+0 | | * | | | | | | | rlp: fix nil pointer decodingFelix Lange2015-03-212-2/+27 | | * | | | | | | | Merge remote-tracking branch 'ethereum/conversion' into conversionFelix Lange2015-03-2037-1707/+5453 | | |\ \ \ \ \ \ \ \ | | * | | | | | | | | common: drop accessors for Value.ValFelix Lange2015-03-20