[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 122729] invokeMailer doesn't seem to handle attachments properly
From:       Thiago Macieira <thiago () kde ! org>
Date:       2006-02-28 21:11:30
Message-ID: 20060228211130.27503.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=122729         




------- Additional Comments From thiago kde org  2006-02-28 22:11 -------
SVN commit 514621 by thiago:

Add %A to the variable expansion in invokeMailer, expanding to the URL
list, separated by , (and enclosed in ').

If %A is found by itself, it's expanded to several arguments, one to
each file. So this doesn't break the current KMail behaviour
(verified).

This fixes the behaviour for Mozilla Mail and Thunderbird.

CCBUG:122729


 M  +5 -0      ktoolinvocation_x11.cpp  


--- trunk/KDE/kdelibs/kdecore/ktoolinvocation_x11.cpp #514620:514621
 @ -412,6 +412,11  @
    keyMap.insert('B', body);
    keyMap.insert('u', url.url());
 
+   QString attachlist = attachURLs.join(",");
+   attachlist.prepend('\'');
+   attachlist.append('\'');
+   keyMap.insert('A', attachlist);
+
    for (QStringList::Iterator it = cmdTokens.begin(); it != cmdTokens.end(); )
    {
      if (*it == "%A")
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic