Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2007-01-12 16:58:49 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2007-01-12 16:58:49 (GMT)
commit47cd9d5b88adc4a58bc982e32e84b01682ec2030 (patch)
tree08da65747b8202ee0174b12b1133ec27c23b2d1f /shell
parentdff5f4dfdc338d4786c0aac8c59d2c0e9a1685b0 (diff)
Restore horizontal scrollbar after switching to/from fullscreen or
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. svn path=/trunk/; revision=2218
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-view.c7
1 files changed, 2 insertions, 5 deletions
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