aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-group-leaf.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-12-15 03:02:13 +0800
committerChris Lahey <clahey@src.gnome.org>2000-12-15 03:02:13 +0800
commitfeea74a8a7cbfe1b9d96212c6380f724750ad9e1 (patch)
treeee2d6be303840e8d9fec217629a41fde2daad449 /widgets/table/e-table-group-leaf.c
parent40013b42006e21aabe6dfd9451548fc2621bbe1f (diff)
downloadgsoc2013-evolution-feea74a8a7cbfe1b9d96212c6380f724750ad9e1.tar
gsoc2013-evolution-feea74a8a7cbfe1b9d96212c6380f724750ad9e1.tar.gz
gsoc2013-evolution-feea74a8a7cbfe1b9d96212c6380f724750ad9e1.tar.bz2
gsoc2013-evolution-feea74a8a7cbfe1b9d96212c6380f724750ad9e1.tar.lz
gsoc2013-evolution-feea74a8a7cbfe1b9d96212c6380f724750ad9e1.tar.xz
gsoc2013-evolution-feea74a8a7cbfe1b9d96212c6380f724750ad9e1.tar.zst
gsoc2013-evolution-feea74a8a7cbfe1b9d96212c6380f724750ad9e1.zip
Removed the set cursor and get cursor methods from ETableGroup.
2000-12-14 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h: Removed the set cursor and get cursor methods from ETableGroup. * e-table.c (e_table_get_cursor_row, e_table_set_cursor_row): Changed this to use the ETableSelection directly instead of going through the grouping structure. This seems to fix a bug in evolution's folder list for some people. svn path=/trunk/; revision=7018
Diffstat (limited to 'widgets/table/e-table-group-leaf.c')
-rw-r--r--widgets/table/e-table-group-leaf.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/widgets/table/e-table-group-leaf.c b/widgets/table/e-table-group-leaf.c
index 2a21f167d6..81add818d2 100644
--- a/widgets/table/e-table-group-leaf.c
+++ b/widgets/table/e-table-group-leaf.c
@@ -223,28 +223,6 @@ etgl_set_focus (ETableGroup *etg, EFocus direction, gint view_col)
}
}
-static void
-etgl_set_cursor_row (ETableGroup *etg, gint row)
-{
- ETableGroupLeaf *etgl = E_TABLE_GROUP_LEAF (etg);
-
- if (etgl->item != NULL)
- gnome_canvas_item_set(GNOME_CANVAS_ITEM(etgl->item),
- "cursor_row", row,
- NULL);
-}
-
-static int
-etgl_get_cursor_row (ETableGroup *etg)
-{
- ETableGroupLeaf *etgl = E_TABLE_GROUP_LEAF (etg);
- int row;
- gtk_object_get(GTK_OBJECT(etgl->item),
- "cursor_row", &row,
- NULL);
- return row;
-}
-
static gint
etgl_get_focus_column (ETableGroup *etg)
{
@@ -386,8 +364,6 @@ etgl_class_init (GtkObjectClass *object_class)
e_group_class->decrement = etgl_decrement;
e_group_class->row_count = etgl_row_count;
e_group_class->set_focus = etgl_set_focus;
- e_group_class->set_cursor_row = etgl_set_cursor_row;
- e_group_class->get_cursor_row = etgl_get_cursor_row;
e_group_class->get_focus_column = etgl_get_focus_column;
e_group_class->get_printable = etgl_get_printable;
e_group_class->compute_location = etgl_compute_location;