[recipes] Exclude all fullscreen views from the back stack



commit 5c1005011513daac9ba8e8808f938feb040cece9
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Mar 11 20:22:45 2017 -0500

    Exclude all fullscreen views from the back stack
    
    We already had the cooking page, but we were missing the
    image lighbox.

 src/gr-window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gr-window.c b/src/gr-window.c
index 89be706..c5988dc 100644
--- a/src/gr-window.c
+++ b/src/gr-window.c
@@ -161,6 +161,7 @@ save_back_entry (GrWindow *window)
         page = gtk_stack_get_visible_child_name (GTK_STACK (window->main_stack));
         if (strcmp (page, "details") == 0 ||
             strcmp (page, "cooking") == 0 ||
+            strcmp (page, "image") == 0 ||
             strcmp (page, "transient") == 0 ||
             strcmp (page, "shopping") == 0 ||
             strcmp (page, "edit") == 0)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]