* src/widgets/modest-msg-view.c:
authorJose Dapena Paz <jdapena@igalia.com>
Thu, 26 Jul 2007 11:35:04 +0000 (11:35 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Thu, 26 Jul 2007 11:35:04 +0000 (11:35 +0000)
* Arg, the new size was wrong, setting a right one
  (re fixes NB#62820).

pmo-trunk-r2803

src/widgets/modest-msg-view.c

index 6f61812..276f2f1 100644 (file)
@@ -1647,7 +1647,7 @@ idle_readjust_scroll (ModestMsgView *view)
                ModestMsgViewPrivate *priv = MODEST_MSG_VIEW_GET_PRIVATE (view);
                GtkAdjustment *html_vadj;
                html_vadj = gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (priv->html_scroll));
-               html_vadj->upper = html_vadj->page_size;
+               html_vadj->page_size = html_vadj->upper;
                gtk_adjustment_changed (html_vadj);
                gtk_widget_queue_resize (GTK_WIDGET (view));
                gtk_widget_queue_draw (GTK_WIDGET (view));