From 9617e83d88649da5154981c362cb2662ff6caf08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Thu, 27 Jan 2011 21:56:12 +0100
Subject: [PATCH] run-dialog: Center error message vertically

Commit 912a30c56 left error message and icon aligned to the top,
but it looks better when the message is centered vertically.
---
 js/ui/runDialog.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js
index a86e9bdd4..5bf578b66 100644
--- a/js/ui/runDialog.js
+++ b/js/ui/runDialog.js
@@ -232,7 +232,9 @@ __proto__: ModalDialog.ModalDialog.prototype,
         this._errorMessage = new St.Label({ style_class: 'run-dialog-error-label' });
         this._errorMessage.clutter_text.line_wrap = true;
 
-        this._errorBox.add(this._errorMessage, { expand: true, y_align: St.Align.MIDDLE });
+        this._errorBox.add(this._errorMessage, { expand: true,
+                                                 y_align: St.Align.MIDDLE,
+                                                 y_fill: false });
 
         this._errorBox.hide();