[recipes] Use the chef full name in recipe tiles



commit c6249f24cee6f378e06d340574de9d990d23c957
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jun 27 13:35:17 2017 -0400

    Use the chef full name in recipe tiles
    
    This is closer to the mockups, and just looks better.

 src/gr-recipe-tile.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gr-recipe-tile.c b/src/gr-recipe-tile.c
index 72875c8..d1c6654 100644
--- a/src/gr-recipe-tile.c
+++ b/src/gr-recipe-tile.c
@@ -83,7 +83,7 @@ recipe_tile_set_recipe (GrRecipeTile *tile,
                 chef = gr_recipe_store_get_chef (store, author);
 
                 gtk_label_set_label (GTK_LABEL (tile->label), name);
-                tmp = g_strdup_printf (_("by %s"), chef ? gr_chef_get_name (chef) : _("Anonymous"));
+                tmp = g_strdup_printf (_("by %s"), chef ? gr_chef_get_fullname (chef) : _("Anonymous"));
                 gtk_label_set_label (GTK_LABEL (tile->author), tmp);
 
                 images = gr_recipe_get_images (recipe);


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