[vinagre] Show correct title in error dialog



commit e15757679fadf405b67d66fcfb094c9fc970de8e
Author: Marek Kasik <mkasik redhat com>
Date:   Wed Jul 3 16:57:28 2013 +0200

    Show correct title in error dialog
    
    Fix a check for null.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=703551

 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 b37c31c..dd6163a 100644
--- a/vinagre/vinagre-utils.vala
+++ b/vinagre/vinagre-utils.vala
@@ -36,7 +36,7 @@ namespace Vinagre.Utils {
     public void show_error_dialog (string? title,
                                    string? message,
                                    Window? parent) {
-        if (title != null)
+        if (title == null)
             title = _("An error occurred");
 
         var dialog = new MessageDialog (parent,


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