aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2005-08-24 12:22:55 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2005-08-24 12:22:55 +0800
commitf890ddee3860d71e0d18ffaef34de497375985bf (patch)
treed6aff1653d6f6d8f919a12f29412205cb24c0a96 /mail
parentd851c3525b60b858136f42a343a938fd6e864e7f (diff)
downloadgsoc2013-evolution-f890ddee3860d71e0d18ffaef34de497375985bf.tar.gz
gsoc2013-evolution-f890ddee3860d71e0d18ffaef34de497375985bf.tar.zst
gsoc2013-evolution-f890ddee3860d71e0d18ffaef34de497375985bf.zip
Dont call update. Just set the width on the bar.
2005-08-24 Srinivasa Ragavan <sragavan@novell.com> * em-format-html-display.c (efhd_bar_resize): Dont call update. Just set the width on the bar. svn path=/trunk/; revision=30235
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/em-format-html-display.c6
2 files changed, 7 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 02f4033244..7ec419a8d6 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-22 Srinivasa Ragavan <sragavan@novell.com>
+
+ * em-format-html-display.c (efhd_bar_resize): Dont call update.
+ Just set the width on the bar.
+
2005-08-23 Not Zed <NotZed@Ximian.com>
* mail-tools.c (mail_tool_uri_to_folder): cast warning away.
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index 3b66e882be..63a5c727c4 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -1898,10 +1898,8 @@ efhd_bar_resize(GtkWidget *w, GtkAllocation *event, EMFormatHTML *efh)
gtk_widget_size_request (efhd->priv->attachment_bar, &req);
width = ((GtkWidget *) efh->html)->allocation.width - 16;
- gtk_widget_set_size_request (efhd->priv->attachment_bar, width, req.height);
-
- /* Update the bar to refresh the icons and adjust the height */
- e_attachment_bar_refresh (E_ATTACHMENT_BAR(efhd->priv->attachment_bar));
+ /* Update the width of the bar */
+ e_attachment_bar_set_width(E_ATTACHMENT_BAR(efhd->priv->attachment_bar), width);
}
static gboolean