From 431f6e56c1b2f1c2353a203133696a9cb7c8ec8a Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Fri, 17 Oct 2008 10:58:41 +0000 Subject: 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 --- (limited to 'shell') diff --git a/shell/ev-window.c b/shell/ev-window.c index 0b2fd18..ca4f81b 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); } } -- cgit v0.9.1