aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2002-05-03 02:45:19 +0800
committerChris Lahey <clahey@src.gnome.org>2002-05-03 02:45:19 +0800
commitcad5e25f863f3bf643a2c7a7b4a77be0bc9db130 (patch)
tree3bbf26485c00f3deb8597d4468bb5384325698e2 /widgets/table/e-table.c
parente7432164869e777b21aee021e23033bbdf747cac (diff)
downloadgsoc2013-evolution-cad5e25f863f3bf643a2c7a7b4a77be0bc9db130.tar
gsoc2013-evolution-cad5e25f863f3bf643a2c7a7b4a77be0bc9db130.tar.gz
gsoc2013-evolution-cad5e25f863f3bf643a2c7a7b4a77be0bc9db130.tar.bz2
gsoc2013-evolution-cad5e25f863f3bf643a2c7a7b4a77be0bc9db130.tar.lz
gsoc2013-evolution-cad5e25f863f3bf643a2c7a7b4a77be0bc9db130.tar.xz
gsoc2013-evolution-cad5e25f863f3bf643a2c7a7b4a77be0bc9db130.tar.zst
gsoc2013-evolution-cad5e25f863f3bf643a2c7a7b4a77be0bc9db130.zip
Added horizontal dividers to this item when in table mode.
2002-05-02 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c: Added horizontal dividers to this item when in table mode. * e-table.c, e-tree.c: Made the background be an e-canvas-background instead of a * e-tree.c, e-tree.h: Added a white_space_event for feature parity with ETable. svn path=/trunk/; revision=16667
Diffstat (limited to 'widgets/table/e-table.c')
-rw-r--r--widgets/table/e-table.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index f80c2b6a04..8b2b6bd4cb 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -35,6 +35,7 @@
#include "gal/util/e-i18n.h"
#include "gal/util/e-util.h"
#include "gal/widgets/e-canvas.h"
+#include "gal/widgets/e-canvas-background.h"
#include "gal/widgets/e-canvas-vbox.h"
#include "gal/widgets/e-unicode.h"
#include "e-table.h"
@@ -622,11 +623,6 @@ table_canvas_reflow_idle (ETable *e_table)
0, 0, width - 1, height - 1);
set_header_canvas_width (e_table);
}
- gtk_object_set (GTK_OBJECT (e_table->white_item),
- "y1", item_height,
- "x2", width,
- "y2", height,
- NULL);
e_table->reflow_idle_id = 0;
return FALSE;
}
@@ -652,11 +648,6 @@ table_canvas_size_allocate (GtkWidget *widget, GtkAllocation *alloc,
gtk_object_set (GTK_OBJECT (e_table->header),
"width", width,
NULL);
- gtk_object_set (GTK_OBJECT (e_table->white_item),
- "y1", item_height + 1,
- "x2", width,
- "y2", height,
- NULL);
if (e_table->reflow_idle_id)
g_source_remove(e_table->reflow_idle_id);
table_canvas_reflow_idle(e_table);
@@ -1098,11 +1089,7 @@ e_table_setup_table (ETable *e_table, ETableHeader *full_header, ETableHeader *h
e_table->white_item = gnome_canvas_item_new(
gnome_canvas_root(e_table->table_canvas),
- gnome_canvas_rect_get_type(),
- "x1", (double) 0,
- "y1", (double) 0,
- "x2", (double) 100,
- "y2", (double) 100,
+ e_canvas_background_get_type(),
"fill_color_gdk", &GTK_WIDGET(e_table->table_canvas)->style->base[GTK_STATE_NORMAL],
NULL);