[Bug 17824] New: winemenubuilder.c: "Desktop" string not localized -> no icons

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Mar 22 17:14:56 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=17824

           Summary: winemenubuilder.c: "Desktop" string not localized -> no
                    icons
           Product: Wine
           Version: 1.1.17
          Platform: All
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: programs
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: giulioo at gmail.com


Note: I just grepped the source and I think the problem is winemenubuilder.c
and its 2 occurrences of
location = heap_printf("%s/Desktop/%s.desktop", getenv("HOME") ...
however even it's that is not the culprit the problem remains.

===============

System:
        Ubuntu 8.04 and Ubuntu 8.10
        Wine 1.1.17 (binary from WineHQ APT Repository)

I install a Windows app which will create desktop links (.lnk) in the "all
users" desktop folder, in Wine it's:
        drive_c/users/Public/Desktop/*.lnk

What happens to these desktop icons seem to depend on the locale I use when
installing ubuntu:

1) If I use EN (no problems)
- My desktop folder will be /home/user1/Desktop
- winecfg will show a map "Desktop -> /home/user1/Desktop"
- After the install I'll get *.desktop files corresponding to the *.lnk in
/home/user1/Desktop
- All is fine

2) If I use IT (Italian, abnormal behavior is observed)
- My desktop folder will be /home/user1/Scrivania
- winecfg will show a correct map "Desktop -> /home/user1/Scrivania"
- drive_c/users/user1/Desktop -> /home/user1/Scrivania
- After the install I WON'T get any *.desktop files/icons
- If I do
        $ mkdir Desktop    (thus creating /home/user1/Desktop)
then after the install *.desktop files will be created in this dir, however
this is not my real desktop folder, so no icons will show up on the desktop
anyway.

Wine-1.0.1 has a similar problem:
- With IT locale by default it will put files into /home/user1/*.desktop (ie:
in the homedir instead of in the desktop dir), if I create /home/user1/Desktop
then it will put them there.

I hope this can be fixed both on 1.0.x and 1.1.x.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list