Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-view-private.h
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2006-12-10 20:49:12 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2006-12-10 20:49:12 (GMT)
commit913ada1452d003b49919126cd4cb2c91842bfdcd (patch)
tree91510c0f12c657135c3afb04bd7918ce2f44a4d2 /shell/ev-view-private.h
parent0788c8b420efdf4f9bdcd89ec358067b4ab38ada (diff)
Blank screen in presentation mode when pressing 'b' (filling with black)
2006-12-10 Carlos Garcia Campos <carlosgc@gnome.org> * 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.
Diffstat (limited to 'shell/ev-view-private.h')
-rw-r--r--shell/ev-view-private.h9
1 files changed, 8 insertions, 1 deletions
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 */