aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-10-19 09:08:44 +0800
committerChris Lahey <clahey@src.gnome.org>2000-10-19 09:08:44 +0800
commit0e2492ca585ff69aae41b6b2b72a76c46daa7f47 (patch)
treefac278df35c7af1dab1243b9ee2d8219a4bf1622 /widgets/table/e-table.c
parent6da38957bf240831aaa8a9c7c74080fec8cf2e3e (diff)
downloadgsoc2013-evolution-0e2492ca585ff69aae41b6b2b72a76c46daa7f47.tar.gz
gsoc2013-evolution-0e2492ca585ff69aae41b6b2b72a76c46daa7f47.tar.zst
gsoc2013-evolution-0e2492ca585ff69aae41b6b2b72a76c46daa7f47.zip
Make text a different color if !(flags & E_CELL_FOCUSED).
2000-10-18 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Make text a different color if !(flags & E_CELL_FOCUSED). * e-cell.h: Added E_CELL_FOCUSED to flags. * e-table-item.c: Changed the background color of selected cells if the widget is focused. Send E_CELL_FOCUSED to flags if the widget is focused. * e-table.c: Repaint the window if focus changes. svn path=/trunk/; revision=6010
Diffstat (limited to 'widgets/table/e-table.c')
-rw-r--r--widgets/table/e-table.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 006909dac6..2abd24328a 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -523,6 +523,12 @@ e_table_setup_table (ETable *e_table, ETableHeader *full_header, ETableHeader *h
gtk_signal_connect (
GTK_OBJECT (e_table->table_canvas), "size_allocate",
GTK_SIGNAL_FUNC (table_canvas_size_allocate), e_table);
+ gtk_signal_connect (
+ GTK_OBJECT (e_table->table_canvas), "focus_in_event",
+ GTK_SIGNAL_FUNC (gtk_widget_queue_draw), e_table);
+ gtk_signal_connect (
+ GTK_OBJECT (e_table->table_canvas), "focus_out_event",
+ GTK_SIGNAL_FUNC (gtk_widget_queue_draw), e_table);
gtk_signal_connect (
GTK_OBJECT (e_table), "drag_begin",