aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-text.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-04-16 00:52:41 +0800
committerChris Lahey <clahey@src.gnome.org>2001-04-16 00:52:41 +0800
commit55b44f1c465147949a550422ff7515e8a1684cb0 (patch)
treec8b9bc73fef70bbbca8e08e44a4136a43f8a4fc6 /widgets/table/e-cell-text.c
parent8da0e6054ff610764f75b2d252aaa9489396368c (diff)
downloadgsoc2013-evolution-55b44f1c465147949a550422ff7515e8a1684cb0.tar
gsoc2013-evolution-55b44f1c465147949a550422ff7515e8a1684cb0.tar.gz
gsoc2013-evolution-55b44f1c465147949a550422ff7515e8a1684cb0.tar.bz2
gsoc2013-evolution-55b44f1c465147949a550422ff7515e8a1684cb0.tar.lz
gsoc2013-evolution-55b44f1c465147949a550422ff7515e8a1684cb0.tar.xz
gsoc2013-evolution-55b44f1c465147949a550422ff7515e8a1684cb0.tar.zst
gsoc2013-evolution-55b44f1c465147949a550422ff7515e8a1684cb0.zip
Added /* #defines */ at the top. Fixed ALTERNATE_COLORS to be an #ifdef
2001-04-15 Christopher James Lahey <clahey@ximian.com> * e-table-item.c: Added /* #defines */ at the top. Fixed ALTERNATE_COLORS to be an #ifdef instead of an #if. * e-cell-text.c (ect_show_tooltip): Set "strikeout" argument on created tooltip. svn path=/trunk/; revision=9328
Diffstat (limited to 'widgets/table/e-cell-text.c')
-rw-r--r--widgets/table/e-cell-text.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c
index db881f764b..1ad50921e3 100644
--- a/widgets/table/e-cell-text.c
+++ b/widgets/table/e-cell-text.c
@@ -579,6 +579,7 @@ ect_draw (ECellView *ecell_view, GdkDrawable *drawable,
sel_rect.height = height;
gtk_paint_flat_box (canvas->style,
drawable,
+
edit->has_selection ? GTK_STATE_SELECTED : GTK_STATE_ACTIVE,
GTK_SHADOW_NONE,
clip_rect,
@@ -1225,6 +1226,7 @@ ect_show_tooltip (ECellView *ecell_view,
"anchor", GTK_ANCHOR_NW,
/* "font_gdk", text_view->font, */
"bold", (gboolean) ect->bold_column >= 0 && e_table_model_value_at(ecell_view->e_table_model, ect->bold_column, row),
+ "strikeout", (gboolean) ect->strikeout_column >= 0 && e_table_model_value_at(ecell_view->e_table_model, ect->strikeout_column, row),
"text", cell.text,
"editable", FALSE,
"clip_width", max_width,