~aacid/unity8/drag_with_quicklist

« back to all changes in this revision

Viewing changes to tests/mocks/Unity/Launcher/MockLauncherModel.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:
75
75
    item = new MockLauncherItem("calendar-app", "/usr/share/applications/calendar-app.desktop","Calendar", "calendar", this);
76
76
    item->setPinned(true);
77
77
    m_list.append(item);
 
78
    item = new MockLauncherItem("libreoffice", "/usr/share/applications/libreoffice.desktop","Libre Office", "libreoffice", this);
 
79
    item->setPinned(true);
 
80
    m_list.append(item);
78
81
}
79
82
 
80
83
MockLauncherModel::~MockLauncherModel()