Actually display "(No From)" in messageview's From column when appropriate.
authorAndrej Kacian <ticho@claws-mail.org>
Fri, 1 Aug 2014 08:28:07 +0000 (10:28 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Fri, 1 Aug 2014 08:28:07 +0000 (10:28 +0200)
src/summaryview.c

index d1f2eee608f02c9e72341c06085d4e4a5e3ca684..4986a65a1c33545aab016746fd88614e63a2c99f 100644 (file)
@@ -3350,7 +3350,7 @@ static inline void summary_set_header(SummaryView *summaryview, gchar *text[],
                        extract_address(from_text);
                }
                if (!from_text)
                        extract_address(from_text);
                }
                if (!from_text)
-                       _("(No From)");         
+                       from_text = _("(No From)");
        } else {
                gchar *tmp = summary_complete_address(msginfo->from);
                if (tmp) {
        } else {
                gchar *tmp = summary_complete_address(msginfo->from);
                if (tmp) {
@@ -3368,7 +3368,7 @@ static inline void summary_set_header(SummaryView *summaryview, gchar *text[],
                                        extract_address(from_text);
                        }
                        if (!from_text)
                                        extract_address(from_text);
                        }
                        if (!from_text)
-                               _("(No From)");         
+                               from_text = _("(No From)");
                }
        }
        
                }
        }