~tiagosh/unity-2d/fix-dash-cursor

« back to all changes in this revision

Viewing changes to shell/app/shelldeclarativeview.cpp

  • Committer: Tarmac
  • Author(s): Tiago Salem Herrmann
  • Date: 2012-02-13 10:01:01 UTC
  • mfrom: (771.67.9 unity-2d-shell-homelens)
  • Revision ID: tarmac-20120213100101-ln7y3ckfyanklfvt
This MR replaces the old home lens by the new one provided by unity.
The following libqtdee branch must be installed in order to compile this branch: lp:~tiagosh/dee-qt/dee-qt-local-models .
. Fixes: https://bugs.launchpad.net/bugs/744978, https://bugs.launchpad.net/bugs/745764, https://bugs.launchpad.net/bugs/808716, https://bugs.launchpad.net/bugs/813036, https://bugs.launchpad.net/bugs/831868, https://bugs.launchpad.net/bugs/836498, https://bugs.launchpad.net/bugs/838708, https://bugs.launchpad.net/bugs/850893, https://bugs.launchpad.net/bugs/857575, https://bugs.launchpad.net/bugs/859596, https://bugs.launchpad.net/bugs/860400, https://bugs.launchpad.net/bugs/862956, https://bugs.launchpad.net/bugs/863058, https://bugs.launchpad.net/bugs/869196, https://bugs.launchpad.net/bugs/869873, https://bugs.launchpad.net/bugs/873027, https://bugs.launchpad.net/bugs/873580, https://bugs.launchpad.net/bugs/876589, https://bugs.launchpad.net/bugs/879288, https://bugs.launchpad.net/bugs/880222, https://bugs.launchpad.net/bugs/881756, https://bugs.launchpad.net/bugs/883392, https://bugs.launchpad.net/bugs/884410, https://bugs.launchpad.net/bugs/887957, https://bugs.launchpad.net/bugs/888164, https://bugs.launchpad.net/bugs/891636, https://bugs.launchpad.net/bugs/892004, https://bugs.launchpad.net/bugs/893061, https://bugs.launchpad.net/bugs/894380, https://bugs.launchpad.net/bugs/894381, https://bugs.launchpad.net/bugs/897640, https://bugs.launchpad.net/bugs/898161, https://bugs.launchpad.net/bugs/898349, https://bugs.launchpad.net/bugs/900895, https://bugs.launchpad.net/bugs/901491, https://bugs.launchpad.net/bugs/901505, https://bugs.launchpad.net/bugs/903182, https://bugs.launchpad.net/bugs/903495, https://bugs.launchpad.net/bugs/906235. Approved by Albert Astals Cid.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
#include <QtDBus/QDBusInterface>
42
42
#include <QX11Info>
43
43
#include <QGraphicsObject>
 
44
#include <QFileInfo>
44
45
 
45
46
// X11
46
47
#include <X11/Xlib.h>
188
189
    return m_active;
189
190
}
190
191
 
 
192
bool
 
193
ShellDeclarativeView::haveCustomHomeShortcuts() const
 
194
{
 
195
    return QFileInfo(unity2dDirectory() + "/shell/dash/HomeShortcutsCustomized.qml").exists();
 
196
}
 
197
 
191
198
void
192
199
ShellDeclarativeView::setDashMode(ShellDeclarativeView::DashMode mode)
193
200
{