[gnome-shell] Fix modal dialog styling for network secret prompts
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Fix modal dialog styling for network secret prompts
- Date: Wed, 22 Aug 2012 03:34:27 +0000 (UTC)
commit 47ce72e011353609394c05aa9c75c2e04b13e8d3
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Aug 21 23:23:56 2012 -0300
Fix modal dialog styling for network secret prompts
https://bugzilla.gnome.org/show_bug.cgi?id=682412
data/theme/gnome-shell.css | 1 +
js/ui/networkAgent.js | 5 ++++-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index ee6f01a..354d0b6 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -1874,6 +1874,7 @@ StButton.popup-menu-item:insensitive {
.network-dialog-secret-table {
spacing-rows: 15px;
+ spacing-columns: 1em;
}
.keyring-dialog-control-table {
diff --git a/js/ui/networkAgent.js b/js/ui/networkAgent.js
index 8435a09..f91a4ba 100644
--- a/js/ui/networkAgent.js
+++ b/js/ui/networkAgent.js
@@ -135,7 +135,10 @@ const NetworkSecretDialog = new Lang.Class({
} else
secret.valid = true;
- secretTable.add(label, { row: pos, col: 0, x_expand: false, x_fill: true, x_align: St.Align.START, y_align: St.Align.START });
+ secretTable.add(label, { row: pos, col: 0,
+ x_expand: false, x_fill: true,
+ x_align: St.Align.START,
+ y_fill: false, y_align: St.Align.MIDDLE });
secretTable.add(secret.entry, { row: pos, col: 1, x_expand: true, x_fill: true, y_align: St.Align.END });
pos++;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]