[recipes] Use the right time for shopping list



commit abd3d0675be939ba3baa27c6458b692d4d0b5b0d
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Feb 9 18:33:21 2017 -0500

    Use the right time for shopping list
    
    We want to show when the shopping list was last changed,
    not the favorites.

 src/gr-recipes-page.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gr-recipes-page.c b/src/gr-recipes-page.c
index ef953f5..55f33a3 100644
--- a/src/gr-recipes-page.c
+++ b/src/gr-recipes-page.c
@@ -258,7 +258,7 @@ update_shopping_time (gpointer data)
         store = gr_app_get_recipe_store (GR_APP (g_application_get_default ()));
 
         now = g_date_time_new_now_utc ();
-        change = gr_recipe_store_last_favorite_change (store);
+        change = gr_recipe_store_last_shopping_change (store);
         if (change) {
                 g_autofree char *text = NULL;
                 g_autofree char *tmp = NULL;


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