[accounts-dialog] Fix emblems in the photo menu



commit 6f20eb05715222b523d56fef567b4f1b52a5b9ed
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jan 23 00:51:34 2010 -0500

    Fix emblems in the photo menu

 src/um-photo-dialog.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/um-photo-dialog.c b/src/um-photo-dialog.c
index e705e7d..8587ee0 100644
--- a/src/um-photo-dialog.c
+++ b/src/um-photo-dialog.c
@@ -633,7 +633,6 @@ um_photo_dialog_set_user (UmPhotoDialog *um,
         um->user = user;
 
         if (um->user) {
-                gboolean user_set = FALSE;
                 g_object_ref (user);
 
                 children = gtk_container_get_children (GTK_CONTAINER (um->photo_popup));
@@ -669,13 +668,9 @@ um_photo_dialog_set_user (UmPhotoDialog *um,
                                                                um_user_get_real_name (u));
                                         set_tip (GTK_WIDGET (c->data), tip, emblem);
                                         g_free (tip);
-                                        /* Only show one emblem for each icon */
-                                        user_set = TRUE;
                                         break;
                                 }
                         }
-                        if (user_set != FALSE)
-                                break;
                 }
                 g_slist_free (list);
 



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