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

List:       kde-commits
Subject:    KDE/kdelibs/kdecore
From:       Thiago Macieira <thiago () kde ! org>
Date:       2006-02-28 21:11:20
Message-ID: 1141161080.426500.12842.nullmailer () svn ! kde ! org
[Download RAW message or body]

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