~josharenson/+junk/white-session-chooser-gui

« back to all changes in this revision

Viewing changes to plugins/Unity/Indicators/indicatorsmanager.cpp

  • Committer: Josh Arenson
  • Date: 2016-06-13 20:10:01 UTC
  • mfrom: (1978.1.11 sessions-model)
  • Revision ID: joshua.arenson@canonical.com-20160613201001-qeqo1s4yzaehopcp
Merge prereq

Show diffs side-by-side

added added

removed removed

Lines of Context:
291
291
    // The rest of the indicators respect their default profile (which is "phone", even on desktop PCs)
292
292
    if ((new_indicator->identifier() == QStringLiteral("indicator-session"))
293
293
            || (new_indicator->identifier() == QStringLiteral("indicator-power") && m_platform.isPC())) {
294
 
        new_indicator->setProfile(QStringLiteral("desktop"));
 
294
        new_indicator->setProfile(m_profile.replace(QStringLiteral("phone"), QStringLiteral("desktop")));
295
295
    } else {
296
296
        new_indicator->setProfile(m_profile);
297
297
    }