aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-attachment-bar.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2006-06-09 05:47:46 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2006-06-09 05:47:46 +0800
commit3e0a9bfa17266aa357e44aa7c95bb5f174d86205 (patch)
tree9a38b629abb8d0f8ed5362b717801be74f91b629 /widgets/misc/e-attachment-bar.c
parent99587466db9866543fb05aeada5ff84e9650004f (diff)
downloadgsoc2013-evolution-3e0a9bfa17266aa357e44aa7c95bb5f174d86205.tar
gsoc2013-evolution-3e0a9bfa17266aa357e44aa7c95bb5f174d86205.tar.gz
gsoc2013-evolution-3e0a9bfa17266aa357e44aa7c95bb5f174d86205.tar.bz2
gsoc2013-evolution-3e0a9bfa17266aa357e44aa7c95bb5f174d86205.tar.lz
gsoc2013-evolution-3e0a9bfa17266aa357e44aa7c95bb5f174d86205.tar.xz
gsoc2013-evolution-3e0a9bfa17266aa357e44aa7c95bb5f174d86205.tar.zst
gsoc2013-evolution-3e0a9bfa17266aa357e44aa7c95bb5f174d86205.zip
Call update (bar); the rest of the fix for bug #178631.
2006-06-08 Jeffrey Stedfast <fejj@novell.com> * e-attachment-bar.c (attachment_destroy): Call update (bar); the rest of the fix for bug #178631. svn path=/trunk/; revision=32099
Diffstat (limited to 'widgets/misc/e-attachment-bar.c')
-rw-r--r--widgets/misc/e-attachment-bar.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/widgets/misc/e-attachment-bar.c b/widgets/misc/e-attachment-bar.c
index 88c0a50d74..3efe865681 100644
--- a/widgets/misc/e-attachment-bar.c
+++ b/widgets/misc/e-attachment-bar.c
@@ -125,8 +125,10 @@ attachment_destroy (EAttachmentBar *bar, EAttachment *attachment)
if (bar->priv->batch_unref)
return;
- if (g_ptr_array_remove (bar->priv->attachments, attachment))
+ if (g_ptr_array_remove (bar->priv->attachments, attachment)) {
+ update (bar);
g_signal_emit (bar, signals[CHANGED], 0);
+ }
}
static void