[recipes] Also don't save the shopping page on the back stack



commit 84eb9ccd3d4156294c9e8bc74998b95781fcf86d
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Mar 10 23:25:09 2017 -0500

    Also don't save the shopping page on the back stack
    
    Currently, there is no way to leave the shopping page
    (other than going back), but that will change soon, so
    prevent the save stack from recording it.

 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 6f46d4e..22b84d8 100644
--- a/src/gr-window.c
+++ b/src/gr-window.c
@@ -145,6 +145,7 @@ save_back_entry (GrWindow *window)
         if (strcmp (page, "details") == 0 ||
             strcmp (page, "cooking") == 0 ||
             strcmp (page, "transient") == 0 ||
+            strcmp (page, "shopping") == 0 ||
             strcmp (page, "edit") == 0)
                 return;
 


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