aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-12-19 05:10:42 +0800
committerChris Lahey <clahey@src.gnome.org>2001-12-19 05:10:42 +0800
commit4f77fa639699bdf73f8b40ce2a8e691167dc5efe (patch)
treebfafa3b7b43b4cfa21bd5646c5853fab022597af /widgets
parentdb035d9cf1d63fbba2fbe312fffe118ec1d7fa36 (diff)
downloadgsoc2013-evolution-4f77fa639699bdf73f8b40ce2a8e691167dc5efe.tar.gz
gsoc2013-evolution-4f77fa639699bdf73f8b40ce2a8e691167dc5efe.tar.zst
gsoc2013-evolution-4f77fa639699bdf73f8b40ce2a8e691167dc5efe.zip
Merging changes:
2001-12-17 Christopher James Lahey <clahey@ximian.com> * e-cell-toggle.c (etog_set_value): Don't queue a redraw here. the value changed signal will do that automatically. svn path=/trunk/; revision=15160
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-cell-toggle.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/widgets/table/e-cell-toggle.c b/widgets/table/e-cell-toggle.c
index 9ae91d5abc..4f30093921 100644
--- a/widgets/table/e-cell-toggle.c
+++ b/widgets/table/e-cell-toggle.c
@@ -42,14 +42,6 @@ typedef struct {
static ECellClass *parent_class;
-static void
-etog_queue_redraw (ECellToggleView *text_view, int view_col, int view_row)
-{
- e_table_item_redraw_range (
- text_view->cell_view.e_table_item_view,
- view_col, view_row, view_col, view_row);
-}
-
/*
* ECell::realize method
*/
@@ -59,12 +51,12 @@ etog_new_view (ECell *ecell, ETableModel *table_model, void *e_table_item_view)
ECellToggleView *toggle_view = g_new0 (ECellToggleView, 1);
ETableItem *eti = E_TABLE_ITEM (e_table_item_view);
GnomeCanvas *canvas = GNOME_CANVAS_ITEM (eti)->canvas;
-
+
toggle_view->cell_view.ecell = ecell;
toggle_view->cell_view.e_table_model = table_model;
toggle_view->cell_view.e_table_item_view = e_table_item_view;
toggle_view->canvas = canvas;
-
+
return (ECellView *) toggle_view;
}
@@ -190,7 +182,6 @@ etog_set_value (ECellToggleView *toggle_view, int model_col, int view_col, int r
e_table_model_set_value_at (toggle_view->cell_view.e_table_model,
model_col, row, GINT_TO_POINTER (value));
- etog_queue_redraw (toggle_view, view_col, row);
}
/*