[recipes] Make sure recipe tiles show up properly after import
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Make sure recipe tiles show up properly after import
- Date: Wed, 22 Feb 2017 15:27:20 +0000 (UTC)
commit 05ec7cdf01b92057520238edd36cda89708f0eb9
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Feb 22 09:51:40 2017 -0500
Make sure recipe tiles show up properly after import
We need to recreate the css for the new recipes and chefs
that were just imported.
src/gr-recipe-importer.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/gr-recipe-importer.c b/src/gr-recipe-importer.c
index 89c31a1..b89d91d 100644
--- a/src/gr-recipe-importer.c
+++ b/src/gr-recipe-importer.c
@@ -34,6 +34,8 @@
#include "gr-recipe-store.h"
#include "gr-app.h"
#include "gr-utils.h"
+#include "gr-recipe-tile.h"
+#include "gr-chef-tile.h"
struct _GrRecipeImporter
@@ -437,6 +439,10 @@ next:
id = importer->recipe_ids[importer->current_recipe];
if (id == NULL) {
+ // We're done!
+ gr_recipe_tile_recreate_css ();
+ gr_chef_tile_recreate_css ();
+
g_signal_emit (importer, done_signal, 0, importer->recipes);
cleanup_import (importer);
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]