[vinagre/gnome-3-8] Show correct title in error dialog
- From: Jonh Wendell <jwendell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vinagre/gnome-3-8] Show correct title in error dialog
- Date: Thu, 11 Jul 2013 14:03:12 +0000 (UTC)
commit 4fc0ddefef56260f68d2e4ff0d5801642e31d341
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]