~aacid/unity8/drag_with_quicklist

« back to all changes in this revision

Viewing changes to tests/mocks/Unity/Application/ApplicationManager.cpp

  • Committer: CI Train Bot
  • Author(s): Michael Zanetti
  • Date: 2015-11-12 20:40:49 UTC
  • mfrom: (1978.5.23 unity8-modeswitchwarning)
  • Revision ID: ci-train-bot@canonical.com-20151112204049-ujbdtb4gv2waay4j
Add a warning dialog when disconnecting the external monitor.

In case there are still legacy apps running, the dialog forces the user to reconnect the external monitor, or close all the legacy apps.
Approved by: Daniel d'Andrada

Show diffs side-by-side

added added

removed removed

Lines of Context:
465
465
    application->setAppId("libreoffice");
466
466
    application->setName("LibreOffice");
467
467
    application->setIconId("libreoffice");
 
468
    application->setScreenshotId("libreoffice");
468
469
    application->setIsTouchApp(false);
469
470
    m_availableApplications.append(application);
470
471
}