[gnome-shell] Fix the spacing in the mount operation auth prompt
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Fix the spacing in the mount operation auth prompt
- Date: Tue, 28 Aug 2012 00:42:47 +0000 (UTC)
commit b3cb9d8459970f6dfc6374163de67deffbc6f09a
Author: William Jon McCann <jmccann redhat com>
Date: Mon Aug 27 19:02:16 2012 -0400
Fix the spacing in the mount operation auth prompt
We weren't setting the correct style attributes like we
were in the polkit auth dialog.
https://bugzilla.gnome.org/show_bug.cgi?id=682645
js/ui/shellMountOperation.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/shellMountOperation.js b/js/ui/shellMountOperation.js
index a8f7064..391a761 100644
--- a/js/ui/shellMountOperation.js
+++ b/js/ui/shellMountOperation.js
@@ -361,12 +361,12 @@ const ShellMountPasswordDialog = new Lang.Class({
if (strings[1])
description.set_text(strings[1]);
- this._passwordBox = new St.BoxLayout({ vertical: false });
+ this._passwordBox = new St.BoxLayout({ vertical: false, style_class: 'prompt-dialog-password-box' });
this._messageBox.add(this._passwordBox);
this._passwordLabel = new St.Label(({ style_class: 'prompt-dialog-password-label',
text: _("Passphrase") }));
- this._passwordBox.add(this._passwordLabel);
+ this._passwordBox.add(this._passwordLabel, { y_fill: false, y_align: St.Align.MIDDLE });
this._passwordEntry = new St.Entry({ style_class: 'prompt-dialog-password-entry',
text: "",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]