From 431f6e56c1b2f1c2353a203133696a9cb7c8ec8a Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Fri, 17 Oct 2008 10:58:41 +0000 Subject: [PATCH] Disable toggle function of F5 when in presentation mode. Patch by Dave 2008-10-17 Carlos Garcia Campos * shell/ev-window.c: (ev_window_cmd_view_presentation): Disable toggle function of F5 when in presentation mode. Patch by Dave Neary. Fixes bug #556162. svn path=/trunk/; revision=3224 --- ChangeLog | 7 +++++++ shell/ev-window.c | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e05c1847..0ca418ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-10-17 Carlos Garcia Campos + + * shell/ev-window.c: (ev_window_cmd_view_presentation): + + Disable toggle function of F5 when in presentation mode. Patch by + Dave Neary. Fixes bug #556162. + 2008-10-17 Carlos Garcia Campos * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose), diff --git a/shell/ev-window.c b/shell/ev-window.c index 0b2fd182..ca4f81b5 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -3053,8 +3053,6 @@ ev_window_cmd_view_presentation (GtkAction *action, EvWindow *window) presentation = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)); if (presentation) { ev_window_run_presentation (window); - } else { - ev_window_stop_presentation (window, TRUE); } } -- 2.43.5