From 913ada1452d003b49919126cd4cb2c91842bfdcd Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sun, 10 Dec 2006 20:49:12 +0000 Subject: Blank screen in presentation mode when pressing 'b' (filling with black) 2006-12-10 Carlos Garcia Campos * shell/ev-view-private.h: * shell/ev-view.c: (draw_end_presentation_page), (ev_view_expose_event), (ev_view_key_press_event), (ev_view_class_init), (ev_view_init): Blank screen in presentation mode when pressing 'b' (filling with black) or 'w' (filling with white) keys. Fixes bug #358132. --- (limited to 'shell/ev-view-private.h') diff --git a/shell/ev-view-private.h b/shell/ev-view-private.h index 7278a50..36053c3 100644 --- a/shell/ev-view-private.h +++ b/shell/ev-view-private.h @@ -57,6 +57,13 @@ typedef enum { EV_VIEW_CURSOR_DRAG } EvViewCursor; +typedef enum { + EV_PRESENTATION_NORMAL, + EV_PRESENTATION_BLACK, + EV_PRESENTATION_WHITE, + EV_PRESENTATION_END +} EvPresentationState; + struct _EvView { GtkWidget parent_instance; @@ -98,7 +105,7 @@ struct _EvView { gboolean dual_page; gboolean fullscreen; gboolean presentation; - gboolean end_presentation; + EvPresentationState presentation_state; EvSizingMode sizing_mode; /* Common for button press handling */ -- cgit v0.9.1