[hafqa] [hafqa] [Bug 1231] New: hildon-theme-plankton installs a .desktop _always_ pointing to /usr/share

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Sat Apr 21 09:58:46 EEST 2007
https://maemo.org/bugzilla/show_bug.cgi?id=1231

           Summary: hildon-theme-plankton installs a .desktop _always_
                    pointing to /usr/share
           Product: haf
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: hildon-theme
        AssignedTo: michael.kostrzewa at nokia.com
        ReportedBy: dieguito at gmail.com
         QAContact: hafqa at maemo.org


Selecting plankton on the background settings didn't worked and I found on the
log that it tried to load /usr/share/backgrouns/plankton.png when I installed
using /home/maemo/env as prefix.
It's fixed for me with the following change, I don't have experience with
autotools and friends so I don't know if this is the best solution:

Index: wallpaper/theme_bg.desktop.in
===================================================================
--- wallpaper/theme_bg.desktop.in       (revision 11187)
+++ wallpaper/theme_bg.desktop.in       (working copy)
@@ -1,5 +1,5 @@
 [Desktop Entry]
 Type=Background Image
 Name=@THEME_NAME@
-File=/usr/share/backgrounds/@THEME_DIR at .png
+File=@prefix@/share/backgrounds/@THEME_DIR at .png
 X-Order=01

-- 
Configure bugmail: https://maemo.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list