[evince] ev-window: Make F5 toggle presentation mode
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] ev-window: Make F5 toggle presentation mode
- Date: Sat, 1 Mar 2014 11:08:10 +0000 (UTC)
commit dbdd0cbc43ce66cbd06c170db279a7b939dc125d
Author: Pooja Ahuja <ahuja pooja22 gmail com>
Date: Sat Mar 1 12:06:40 2014 +0100
ev-window: Make F5 toggle presentation mode
Instead of only entering presentation.
https://bugzilla.gnome.org/show_bug.cgi?id=309364
shell/ev-window.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 8a01ab9..bdf9b5f 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -4476,6 +4476,8 @@ 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);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]