~cjcurran/indicator-session/user-image-panel

« back to all changes in this revision

Viewing changes to src/indicator-session.c

  • Committer: Conor Curran
  • Date: 2011-08-22 12:32:00 UTC
  • mfrom: (175.5.5 ellipsis-test)
  • Revision ID: conor.curran@canonical.com-20110822123200-bo0w1qoyi3o3mf48
ellipsis fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
527
527
 
528
528
  if (variant == NULL || g_variant_get_string(variant, NULL) == NULL ||
529
529
      g_variant_get_string(variant, NULL)[0] == '\0' || no_name_in_lang) {
530
 
    finalstring = _("Switch User...");
 
530
    finalstring = _("Switch User…");
531
531
    set_ellipsize = FALSE;
532
532
  }
533
533
 
554
554
    gdouble ems = width / pixels_per_em;
555
555
    g_debug("Username width %fem", ems);
556
556
 
557
 
    finalstring = g_strdup_printf(_("Switch From %s..."), username);
 
557
    finalstring = g_strdup_printf(_("Switch From %s…"), username);
558
558
    if (ems >= 20.0f) {
559
559
      set_ellipsize = TRUE;
560
560
    } else {