[vinagre/gnome-3-8] Fix a logic bug in utils.show_many_errors()



commit f4c6db49c67c94250927c4f55c3de46b059fab70
Author: Jonh Wendell <jonh wendell intel com>
Date:   Thu Jul 11 11:01:36 2013 -0300

    Fix a logic bug in utils.show_many_errors()
    
    it was not displaying any error at all

 vinagre/vinagre-utils.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vinagre/vinagre-utils.vala b/vinagre/vinagre-utils.vala
index dd6163a..15969f4 100644
--- a/vinagre/vinagre-utils.vala
+++ b/vinagre/vinagre-utils.vala
@@ -58,7 +58,7 @@ namespace Vinagre.Utils {
                                   SList<string> items,
                                   Window        parent) {
         var messages = "";
-        items.foreach ((message) => messages.printf ("%s\n", message));
+        items.foreach ((message) => messages += "%s\n".printf (message));
         show_error_dialog (title, messages, parent);
     }
 


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