Why does the places dir for launcher hardcoded to non-2d unity?

Asked by Ahmad Syukri Abdollah

In trunk/launcher/UnityApplications/launcherplaceslist.cpp, the path for places is hardcoded as follows (line 25):

  #define PLACES_DIR "/usr/share/unity/places/"

What is the rationale behind this? Why not use the one provided by unity-2d?

Question information

English Edit question
unity-2d Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Tilloy (osomon) said :

Despite being two different implementations, Unity and Unity-2d share most of their backend implementations as well as resources and assets. The place files are installed by unity-place-files and unity-place-applications in /usr/share/unity/places/, there would be no point in duplicating them to make them unity-2d-specific.

Can you help with this problem?

Provide an answer of your own, or ask Ahmad Syukri Abdollah for more information if necessary.

To post a message you must log in.