+2007-01-12  Carlos Garcia Campos  <carlosgc@gnome.org>
+       
+       * shell/ev-view.c: (ev_view_size_allocate):
+
+       Restore horizontal scrollbar after switching to/from fullscreen
+       or presentation mode. Fixes bug #331728.
+
 2007-01-11  Carlos Garcia Campos  <carlosgc@gnome.org>
 
        * shell/ev-view-private.h:
 
 static void       set_scroll_adjustment                      (EvView             *view,
                                                              GtkOrientation      orientation,
                                                              GtkAdjustment      *adjustment);
-static void       ev_view_set_scroll_adjustments             (EvView             *view,
-                                                             GtkAdjustment      *hadjustment,
-                                                             GtkAdjustment      *vadjustment);
 static void       add_scroll_binding_keypad                  (GtkBindingSet      *binding_set,
                                                              guint               keyval,
                                                              GdkModifierType modifiers,
 {
        EvView *view = EV_VIEW (widget);
 
+       GTK_WIDGET_CLASS (ev_view_parent_class)->size_allocate (widget, allocation);
+       
        if (view->sizing_mode == EV_SIZING_FIT_WIDTH ||
            view->sizing_mode == EV_SIZING_BEST_FIT) {
 
 
        view->pending_scroll = SCROLL_TO_KEEP_POSITION;
        view->pending_resize = FALSE;
-
-       GTK_WIDGET_CLASS (ev_view_parent_class)->size_allocate (widget, allocation);
 }
 
 static void