]> www.fi.muni.cz Git - evince.git/commitdiff
Add '.' keybinding for blanking the screen in presentation mode. Fixes bug
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 13 Jul 2008 16:43:53 +0000 (16:43 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Sun, 13 Jul 2008 16:43:53 +0000 (16:43 +0000)
2008-07-13  Carlos Garcia Campos  <carlosgc@gnome.org>

* 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
shell/ev-view.c

index 56d3a40a5c8aab4cbed7993afaf85f3cadaafc95..25c545cde81e33ca0cc9c7d3c71ea3a0f33206e9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-07-13  Carlos Garcia Campos  <carlosgc@gnome.org>
+
+       * 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  <carlosgc@gnome.org>
 
        * libdocument/ev-document-misc.c:
index d107df965b19b1d73577b63918a2479c70bed4e8..bc3cb980daf295efb03aad5d20d5f0fb6b504b65 100644 (file)
@@ -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;