~ubuntu-branches/ubuntu/precise/unity-2d/precise-security

« back to all changes in this revision

Viewing changes to config.h.in

  • Committer: Package Import Robot
  • Author(s): Didier Roche, Didier Roche, Aurélien Gâteau
  • Date: 2012-01-13 09:12:36 UTC
  • mfrom: (1.1.25)
  • Revision ID: package-import@ubuntu.com-20120113091236-844z32uco10hs6ym
Tags: 5.2.0-0ubuntu1
[ Didier Roche ]
* New upstream release:
  - Select quicklist items with just one right click (LP: #688830)
  - Launcher - Dragging and dropping a running application in to the Trash
    should quit the application and (if the app is pinned to the Launcher)
    un-pin the application from the Launcher (LP: #870143)
  - Dash - "See more..." line should be base-aligned with section header
    (LP: #748101)
  - right click on the dash icon should display a list of the lenses
    (LP: #868452)
  - Top Bar - rename the "Desktop" title in the Top Bar (displayed when no
    window has focus)  to "Ubuntu Desktop" (LP: #869873)
  - Application title on quicklist should be bold (or more visible)
    (LP: #900400)
  - unity-2d-launcher crashed with SIGSEGV  when opening a folder on a CD
    (LP: #831868)
  - unity-2d-places crashed with SIGSEGV in QScriptValue::call()
    (LP: #836498)
  - unity-2d-launcher crashed with SIGSEGV in geis_finish() (LP: #850893)
  - unity-2d-places crashed with SIGABRT in raise() (LP: #857575)
  - unity-2d-launcher crashed with SIGSEGV in exit() (LP: #859596)
  - [spread] layout broken since bzr revision 799 of lp:unity-2d
    (LP: #900895)
  - [workspace switcher] keyboard navigation of workspace switcher broken
    for accessibility (LP: #744978)
  - [spread] workspace switcher performance is poor, especially on low
    powered CPUs (LP: #745764)
  - Launcher - the rendering of the BFB and Lens squircle does not match the
    design (LP: #838708)
  - [dash] Huge performance hit when scrolling search results with
    accessibility enabled (LP: #862956)
  - DBUS_STARTER_ADDRESS and DBUS_STARTER_BUS_TYPE aren't always unset from
    environment making gedit and possibly others fail to start (LP: #873027)
  - Win Key can not be disabled in Unity-2d (LP: #873580)
  - [dash] Unity-2d dash very slow to open (LP: #881756)
  - [tests] LauncherViewTest hanging (LP: #894380)
  - [tests] Unit tests failing due to lack of Xserver (LP: #894381)
  - [launcher] Alt+F1 broken: does not give the focus to the launcher's
    content (LP: #901505)
  - [tests] Add Automated User Experience testing (LP: #903495)
  - [workspace switcher] Performance can be poor when using the opengl
    backend because of window texture sizes that are not limited
    (LP: #808716)
  - [dash] no way to unmaximize (LP: #860400)
  - [launcher] In non-composite mode, background is black (LP: #879288)
  - [dash] Unity 2D shows 'Search' instead of 'Run Command' on ALT + F2
    (LP: #883392)
  - [launcher] Removing icon from launcher makes it hide immediately
    (LP: #884410)
  - OpenGL disabled regardless of use-opengl setting (LP: #887957)
  - if libdir does not equal lib (LP: #888164)
  - [launcher] Launcher stuck open while mouse moved to left corner of panel
    (LP: #892004)
  - [dash] Long results label are truncated instead of elided and a few
    pixels of the next line is visible (LP: #901491)
  - [launcher] Dash icon missing in PPA (LP: #903182)
  - [launcher] Tile context menu should appear at mouse click down event
    (LP: #813036)
  - [launcher] Trash tile highlight is truncated top and bottom
    (LP: #876589)
  - [dash] Text highlighting color is wrong (LP: #880222)
  - [launcher] left edge of panel should not reveal launcher (LP: #891636)
  - [dash] Word "Filter results" has underline when highlighted
    (LP: #893061)
  - [launcher] Alt+F1, change desktop, Alt+F1, hit Esc: launcher doesn't
    give away focus (LP: #897640)
  - Top Bar - rename the "Desktop" title in the Top Bar (displayed when no
    window has focus)  to "Ubuntu Desktop" (LP: #869873)
  - [launcher] Show desktop doesn't show launcher (LP: #898161)
  - [launcher] Context menu/tooltip not positioned at Tile center
    (LP: #898349)
  - The QT_LAYOUT_DIRECTION string needs a translator comment (LP: #863058)
  - unity panel menus don't stay open when clicked on second monitor
    (LP: #869196)
  - Dash- More fixes to layout and alignments (LP: #906235)
* debian/control:
  - bump libunitycore build-dep to 5.0.

[ Aurélien Gâteau ]
* debian/control:
  - bump build-dep versions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#define INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}"
2
 
#define UNITY_2D_DIR "${UNITY_2D_DIR}"
3
 
#define UNITY_DIR "${UNITY_DIR}"
 
1
#define INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
 
2
#define INSTALL_LIBDIR "@CMAKE_INSTALL_LIBDIR@"
 
3
#define INSTALL_BINDIR "@CMAKE_INSTALL_BINDIR@"
 
4
#define UNITY_2D_DIR "@UNITY_2D_DIR@"
 
5
#define UNITY_DIR "@UNITY_DIR@"
 
6
#define UNITY_2D_SCHEMA_FILE "@UNITY_2D_SCHEMA_FILE@"
4
7
 
5
8
#include <QCoreApplication>
 
9
#include "qconf.h"
 
10
 
 
11
static const char* UNITY2D_DCONF_SCHEMA = "com.canonical.Unity2d";
 
12
static const char* LAUNCHER2D_DCONF_SCHEMA = "com.canonical.Unity2d.Launcher";
 
13
static const char* PANEL2D_DCONF_SCHEMA = "com.canonical.Unity2d.Panel";
 
14
 
 
15
static const char* UNITY_DCONF_SCHEMA = "com.canonical.Unity";
 
16
static const char* LAUNCHER_DCONF_SCHEMA = "com.canonical.Unity.Launcher";
 
17
static const char* PANEL_DCONF_SCHEMA = "com.canonical.Unity.Panel";
 
18
 
 
19
inline QConf& unity2dConfiguration() {
 
20
    static QConf configuration(UNITY2D_DCONF_SCHEMA);
 
21
    return configuration;
 
22
}
 
23
 
 
24
inline QConf& launcher2dConfiguration() {
 
25
    static QConf configuration(LAUNCHER2D_DCONF_SCHEMA);
 
26
    return configuration;
 
27
}
 
28
 
 
29
inline QConf& panel2dConfiguration() {
 
30
    static QConf configuration(PANEL2D_DCONF_SCHEMA);
 
31
    return configuration;
 
32
}
 
33
 
 
34
inline QConf& unityConfiguration() {
 
35
    static QConf configuration(UNITY_DCONF_SCHEMA);
 
36
    return configuration;
 
37
}
 
38
 
 
39
inline QConf& launcherConfiguration() {
 
40
    static QConf configuration(LAUNCHER_DCONF_SCHEMA);
 
41
    return configuration;
 
42
}
 
43
 
 
44
inline QConf& panelConfiguration() {
 
45
    static QConf configuration(PANEL_DCONF_SCHEMA);
 
46
    return configuration;
 
47
}
 
48
 
6
49
 
7
50
inline bool isRunningInstalled() {
8
 
    static bool cachedResult = QCoreApplication::applicationDirPath() == INSTALL_PREFIX "/bin";
9
 
    return cachedResult;
 
51
    return (QCoreApplication::applicationDirPath() == (INSTALL_PREFIX "/" INSTALL_BINDIR));
10
52
}
11
53
 
12
54
inline QString unity2dDirectory() {
13
55
    if (isRunningInstalled()) {
14
56
        return QString(INSTALL_PREFIX "/" UNITY_2D_DIR);
15
57
    } else {
16
 
        return QString(QCoreApplication::applicationDirPath()+"/../../");
 
58
        return QString("@CMAKE_SOURCE_DIR@/");
17
59
    }
18
60
}
19
61
 
20
62
inline QString unity2dImportPath() {
21
63
    if (isRunningInstalled()) {
22
 
        return QString(INSTALL_PREFIX "/lib/qt4/imports");
 
64
        return QString(INSTALL_PREFIX "/" INSTALL_LIBDIR "/qt4/imports");
23
65
    } else {
24
 
        return QString(QCoreApplication::applicationDirPath()+"/../");
 
66
        return QString("@CMAKE_BINARY_DIR@/libunity-2d-private/");
25
67
    }
26
68
}
27
69
 
28
70
inline QString unity2dPluginsPath() {
29
71
    if (isRunningInstalled()) {
30
 
        return QString(INSTALL_PREFIX "/lib/unity-2d/plugins");
 
72
        return QString(INSTALL_PREFIX "/" INSTALL_LIBDIR "/unity-2d/plugins");
31
73
    } else {
32
 
        return unity2dDirectory();
 
74
        return QString("@CMAKE_BINARY_DIR@");
33
75
    }
34
76
}