From 09470a4d03f47ba792e21c1b0c214f8464f36c7d Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sun, 13 Jul 2008 16:43:53 +0000 Subject: [PATCH] Add '.' keybinding for blanking the screen in presentation mode. Fixes bug 2008-07-13 Carlos Garcia Campos * shell/ev-view.c: (ev_view_key_press_event): Add '.' keybinding for blanking the screen in presentation mode. Fixes bug #542001. svn path=/trunk/; revision=3070 --- ChangeLog | 7 +++++++ shell/ev-view.c | 2 ++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 56d3a40a..25c545cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-07-13 Carlos Garcia Campos + + * shell/ev-view.c: (ev_view_key_press_event): + + Add '.' keybinding for blanking the screen in presentation + mode. Fixes bug #542001. + 2008-07-13 Carlos Garcia Campos * libdocument/ev-document-misc.c: diff --git a/shell/ev-view.c b/shell/ev-view.c index d107df96..bc3cb980 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -3440,6 +3440,8 @@ ev_view_key_press_event (GtkWidget *widget, switch (event->keyval) { case GDK_b: case GDK_B: + case GDK_period: + case GDK_KP_Decimal: view->presentation_state = (view->presentation_state == EV_PRESENTATION_BLACK) ? EV_PRESENTATION_NORMAL : EV_PRESENTATION_BLACK; -- 2.43.5