Bug 31740 - [PATCH] [xdg-email] Thunderbird is not detected with localized KDE 4
Summary: [PATCH] [xdg-email] Thunderbird is not detected with localized KDE 4
Status: RESOLVED FIXED
Alias: None
Product: Portland
Classification: Unclassified
Component: xdg-utils (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Portland Bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-18 13:51 UTC by Luc Menut
Modified: 2010-11-18 14:14 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
use the correct profile name when it is not called "Default" (1.68 KB, patch)
2010-11-18 13:57 UTC, Luc Menut
Details | Splinter Review

Description Luc Menut 2010-11-18 13:51:05 UTC
Currently, open_kde() searchs "thunderbird" only in the profile called "Default", but on localized KDE, the profile name "Default" is often translated; e.g. in french it is called "Par défaut". In these cases, Thunderbird is not detected and run_thunderbird() is not used, so that email attachments for Thunderbird doesn't work.

e.g. file emaildefaults on french KDE4
cat emaildefaults 
[Defaults]
Profile=Par défaut

[PROFILE_Par défaut]
EmailAddress=
EmailClient[$e]=mozilla-thunderbird
FullName=
Organization=
ReplyAddr=
ServerType=
TerminalClient=false

The patch in attachment fixes this issue.
Comment 1 Luc Menut 2010-11-18 13:57:26 UTC
Created attachment 40399 [details] [review]
use the correct profile name when it is not called "Default"
Comment 2 Rex Dieter 2010-11-18 14:14:54 UTC
Patch looks good, committed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.