[gnome-shell] modalDialog: Make the button layout visible always
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] modalDialog: Make the button layout visible always
- Date: Wed, 26 Dec 2012 03:18:54 +0000 (UTC)
commit 42e58a4b72231e7a5de7bcfe4a67b2e674d7e6fc
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Dec 21 11:10:25 2012 -0500
modalDialog: Make the button layout visible always
With the last button-less modal dialog gone, there's no reason it
should ever be hidden.
https://bugzilla.gnome.org/show_bug.cgi?id=690594
js/ui/modalDialog.js | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/modalDialog.js b/js/ui/modalDialog.js
index 065ce9e..ac74afd 100644
--- a/js/ui/modalDialog.js
+++ b/js/ui/modalDialog.js
@@ -96,8 +96,7 @@ const ModalDialog = new Lang.Class({
y_align: St.Align.START });
this.buttonLayout = new St.BoxLayout({ style_class: 'modal-dialog-button-box',
- visible: false,
- vertical: false });
+ vertical: false });
this.dialogLayout.add(this.buttonLayout,
{ expand: true,
x_align: St.Align.MIDDLE,
@@ -120,7 +119,6 @@ const ModalDialog = new Lang.Class({
setButtons: function(buttons) {
this.clearButtons();
- this.buttonLayout.visible = (buttons.length > 0);
for (let i = 0; i < buttons.length; i++) {
let buttonInfo = buttons[i];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]