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
This commit is contained in:
Srinivasa Ragavan
2005-08-24 04:22:55 +00:00
committed by Srinivasa Ragavan
parent d851c3525b
commit f890ddee38
2 changed files with 7 additions and 4 deletions

View File

@ -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.

View File

@ -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