~ubuntu-branches/ubuntu/oneiric/indicator-session/oneiric-proposed

« back to all changes in this revision

Viewing changes to src/user-menu-mgr.c

  • Committer: Package Import Robot
  • Author(s): Ken VanDine
  • Date: 2011-10-28 11:55:38 UTC
  • mfrom: (1.1.44)
  • Revision ID: package-import@ubuntu.com-20111028115538-i1uhmr0pjk92bxbu
Tags: 0.3.7.1-0ubuntu1.1
* New upstream release.
  - indicator-session shows name as "[Invalid UTF-8]" if there are 
    more than 6 user accounts (LP: #874194)

Show diffs side-by-side

added added

removed removed

Lines of Context:
191
191
    
192
192
    
193
193
 
194
 
    if (self->user_count > MINIMUM_USERS && self->user_count < MAXIMUM_USERS) {
 
194
    if (self->user_count > MINIMUM_USERS) {
195
195
      users = g_list_sort (users, (GCompareFunc)compare_users_by_username);
196
196
    }
197
197
 
206
206
        session_dbus_set_users_real_name (self->session_dbus_interface, user->real_name);
207
207
      }
208
208
           
209
 
      if (self->user_count > MINIMUM_USERS && self->user_count < MAXIMUM_USERS) {
 
209
      if (self->user_count > MINIMUM_USERS) {
210
210
        mi = dbusmenu_menuitem_new ();
211
211
        dbusmenu_menuitem_property_set (mi,
212
212
                                        DBUSMENU_MENUITEM_PROP_TYPE,