~ci-train-bot/unity/unity-ubuntu-yakkety-2192

« back to all changes in this revision

Viewing changes to panel/PanelIndicatorEntryView.cpp

  • Committer: CI bot
  • Author(s): Andrea Azzarone
  • Date: 2014-03-11 18:36:57 UTC
  • mfrom: (3566.5.457 unity)
  • Revision ID: ps-jenkins@lists.canonical.com-20140311183657-b3haqqvvr2ctp9u9
Implement the lockscreen in Unity that looks like unity-greeter. Also allow to fallback to lightdm + greeter (tty switching) in case you need more pam power. Fixes: 878836, 1266464, 1282798

Show diffs side-by-side

added added

removed removed

Lines of Context:
387
387
    pango_layout_get_pixel_size(layout, &extents.width, &extents.height);
388
388
    int y = (height - extents.height) / 2;
389
389
 
390
 
    if (overlay_showing_)
 
390
    if (overlay_showing_ && !IsActive())
391
391
    {
392
392
      cairo_move_to(cr, x, y);
393
393
      cairo_set_source_rgb(cr, 1.0f, 1.0f, 1.0f);