aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-tree-example-1.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-06-30 03:22:24 +0800
committerChris Lahey <clahey@src.gnome.org>2000-06-30 03:22:24 +0800
commit3649d5dc6d7279d6c218d241232dea73c5c773d2 (patch)
tree89520e235371866a92f889e885eb30ed09f44b6c /widgets/e-table/e-tree-example-1.c
parentf0bcf06559405a3de5271f4aeb3472c8a2b7aeb3 (diff)
downloadgsoc2013-evolution-3649d5dc6d7279d6c218d241232dea73c5c773d2.tar
gsoc2013-evolution-3649d5dc6d7279d6c218d241232dea73c5c773d2.tar.gz
gsoc2013-evolution-3649d5dc6d7279d6c218d241232dea73c5c773d2.tar.bz2
gsoc2013-evolution-3649d5dc6d7279d6c218d241232dea73c5c773d2.tar.lz
gsoc2013-evolution-3649d5dc6d7279d6c218d241232dea73c5c773d2.tar.xz
gsoc2013-evolution-3649d5dc6d7279d6c218d241232dea73c5c773d2.tar.zst
gsoc2013-evolution-3649d5dc6d7279d6c218d241232dea73c5c773d2.zip
From mail:
2000-06-29 Christopher James Lahey <clahey@helixcode.com> * message-list.c, mail-ops.c: Changed the name of e_table_select_row to e_table_set_cursor_row. From widgets/e-table: 2000-06-29 Christopher James Lahey <clahey@helixcode.com> * e-table-click-to-add.c: Made this appear a bit better. * e-table-defines.h: Cleaned this up a bit, added ETableForeachFunc. * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h, e-table.c, e-table.h: Changed e_table_select_row to e_table_set_cursor_row. Changed e_table_get_selected_view_row to e_table_get_cursor_row. Added e_table_selected_row_foreach. * e-table-header-item.c: Fixed some warnings. * e-table-sorted-variable.c: Removed some unneeded debugging print statments. * e-tree-example-1.c: Changed e_table_get_selected_view_row to e_table_get_cursor_row. svn path=/trunk/; revision=3799
Diffstat (limited to 'widgets/e-table/e-tree-example-1.c')
-rw-r--r--widgets/e-table/e-tree-example-1.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/e-table/e-tree-example-1.c b/widgets/e-table/e-tree-example-1.c
index c98e53c7af..308f462f64 100644
--- a/widgets/e-table/e-tree-example-1.c
+++ b/widgets/e-table/e-tree-example-1.c
@@ -128,7 +128,7 @@ add_sibling (GtkButton *button, gpointer data)
ETreePath *selected_node;
ETreePath *parent_node;
- selected_row = e_table_get_selected_view_row (E_TABLE (e_table));
+ selected_row = e_table_get_cursor_row (E_TABLE (e_table));
if (selected_row == -1)
return;
@@ -150,7 +150,7 @@ add_child (GtkButton *button, gpointer data)
int selected_row;
ETreePath *selected_node;
- selected_row = e_table_get_selected_view_row (E_TABLE (e_table));
+ selected_row = e_table_get_cursor_row (E_TABLE (e_table));
if (selected_row == -1)
return;
@@ -170,7 +170,7 @@ remove_node (GtkButton *button, gpointer data)
char *str;
ETreePath *selected_node;
- selected_row = e_table_get_selected_view_row (E_TABLE (e_table));
+ selected_row = e_table_get_cursor_row (E_TABLE (e_table));
if (selected_row == -1)
return;
@@ -192,7 +192,7 @@ expand_all (GtkButton *button, gpointer data)
int selected_row;
ETreePath *selected_node;
- selected_row = e_table_get_selected_view_row (E_TABLE (e_table));
+ selected_row = e_table_get_cursor_row (E_TABLE (e_table));
if (selected_row == -1)
return;
@@ -209,7 +209,7 @@ collapse_all (GtkButton *button, gpointer data)
int selected_row;
ETreePath *selected_node;
- selected_row = e_table_get_selected_view_row (E_TABLE (e_table));
+ selected_row = e_table_get_cursor_row (E_TABLE (e_table));
if (selected_row == -1)
return;