[pan2] fix save articles from this nzb.



commit 28e5414c321235172820bf70f29d243fc3571a5d
Author: K. Haley <haleykd users sf net>
Date:   Mon May 30 00:36:30 2011 -0600

    fix save articles from this nzb.
    
    Using this optionin the articls menu would cause tasks to be
    queued multiple times.

 pan/gui/gui.cc |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/pan/gui/gui.cc b/pan/gui/gui.cc
index 2494a19..1869611 100644
--- a/pan/gui/gui.cc
+++ b/pan/gui/gui.cc
@@ -626,11 +626,7 @@ namespace
 
     void foreach_part (GMimeObject *o)
     {
-      if (GMIME_IS_MULTIPART (o))
-      {
-        g_mime_multipart_foreach (GMIME_MULTIPART (o), foreach_part_cb, this);
-      }
-      else if (GMIME_IS_PART(o))
+      if (GMIME_IS_PART(o))
       {
         GMimePart * part (GMIME_PART (o));
         GMimeDataWrapper * wrapper (g_mime_part_get_content_object (part));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]