From: Carlos Garcia Campos Date: Fri, 17 Oct 2008 10:58:41 +0000 (+0000) Subject: Disable toggle function of F5 when in presentation mode. Patch by Dave X-Git-Tag: EVINCE_2_24_1~3 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=431f6e56c1b2f1c2353a203133696a9cb7c8ec8a;p=evince.git 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 --- 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); } }