Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--shell/ev-view.c7
2 files changed, 9 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 758dfba..19d50a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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:
diff --git a/shell/ev-view.c b/shell/ev-view.c
index 7353e7d..98be15f 100644
--- a/shell/ev-view.c
+++ b/shell/ev-view.c
@@ -122,9 +122,6 @@ static void view_update_range_and_current_page (EvView
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,
@@ -1707,6 +1704,8 @@ ev_view_size_allocate (GtkWidget *widget,
{
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) {
@@ -1723,8 +1722,6 @@ ev_view_size_allocate (GtkWidget *widget,
view->pending_scroll = SCROLL_TO_KEEP_POSITION;
view->pending_resize = FALSE;
-
- GTK_WIDGET_CLASS (ev_view_parent_class)->size_allocate (widget, allocation);
}
static void