aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-01-16 02:28:23 +0800
committerChris Toshok <toshok@src.gnome.org>2003-01-16 02:28:23 +0800
commit2f949ea127c577aa900748f39fa1e7115a9ecb4d (patch)
tree322108d9b766a0b3d8947c0914e6f9384d1e2c61 /widgets/text
parentb4ced494653caa0609cfcd4094d44c210422e7ec (diff)
downloadgsoc2013-evolution-2f949ea127c577aa900748f39fa1e7115a9ecb4d.tar
gsoc2013-evolution-2f949ea127c577aa900748f39fa1e7115a9ecb4d.tar.gz
gsoc2013-evolution-2f949ea127c577aa900748f39fa1e7115a9ecb4d.tar.bz2
gsoc2013-evolution-2f949ea127c577aa900748f39fa1e7115a9ecb4d.tar.lz
gsoc2013-evolution-2f949ea127c577aa900748f39fa1e7115a9ecb4d.tar.xz
gsoc2013-evolution-2f949ea127c577aa900748f39fa1e7115a9ecb4d.tar.zst
gsoc2013-evolution-2f949ea127c577aa900748f39fa1e7115a9ecb4d.zip
add call to e_table_model_pre_change here to reduce spew.
2003-01-15 Chris Toshok <toshok@ximian.com> * gal/e-text/e-completion-view.c (begin_completion_cb): add call to e_table_model_pre_change here to reduce spew. (cancel_completion_cb): same. (completion_cb): same. (end_completion_cb): same. (clear_completion_cb): same. (lost_completion_cb): same. svn path=/trunk/; revision=19478
Diffstat (limited to 'widgets/text')
-rw-r--r--widgets/text/e-completion-view.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/widgets/text/e-completion-view.c b/widgets/text/e-completion-view.c
index bff80d023f..cfee21aae9 100644
--- a/widgets/text/e-completion-view.c
+++ b/widgets/text/e-completion-view.c
@@ -586,6 +586,7 @@ begin_completion_cb (ECompletion *completion, const gchar *txt, gint pos, gint l
{
ECompletionView *cv = E_COMPLETION_VIEW (user_data);
+ e_table_model_pre_change (cv->model);
e_completion_view_clear_choices (cv);
cv->have_all_choices = FALSE;
@@ -605,6 +606,7 @@ cancel_completion_cb (ECompletion *completion, gpointer user_data)
ECompletionView *cv = E_COMPLETION_VIEW (user_data);
/* On a cancel, clear our choices and issue an "unbrowse" signal. */
+ e_table_model_pre_change (cv->model);
e_completion_view_clear_choices (cv);
cv->have_all_choices = TRUE;
e_completion_view_set_cursor_row (cv, -1);
@@ -620,6 +622,8 @@ completion_cb (ECompletion *completion, ECompletionMatch *match, gpointer user_d
gint r = cv->choices->len;
gboolean first = (cv->choices->len == 0);
+ e_table_model_pre_change (cv->model);
+
e_completion_match_ref (match);
g_ptr_array_add (cv->choices, match);
@@ -637,6 +641,7 @@ end_completion_cb (ECompletion *completion, gpointer user_data)
ECompletionView *cv = E_COMPLETION_VIEW (user_data);
/* Do a final refresh of the table. */
+ e_table_model_pre_change (cv->model);
e_table_model_changed (cv->model);
cv->have_all_choices = TRUE;
@@ -648,6 +653,7 @@ clear_completion_cb (ECompletion *completion, gpointer user_data)
{
ECompletionView *cv = E_COMPLETION_VIEW (user_data);
+ e_table_model_pre_change (cv->model);
e_completion_view_clear_choices (cv);
cv->have_all_choices = FALSE;
@@ -669,6 +675,7 @@ lost_completion_cb (ECompletion *completion, ECompletionMatch *match, gpointer u
/* FIXME: do remove_index_fast(), then row_changed and
* row_deleted (if there are more than 1 row still) */
+ e_table_model_pre_change (cv->model);
g_ptr_array_remove_index (c, i);
e_table_model_row_deleted (cv->model, i);