[gnome-shell] modalDialog: Minor coding style fix
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] modalDialog: Minor coding style fix
- Date: Wed, 10 Jul 2013 15:39:43 +0000 (UTC)
commit 0ae1f9ffc7f386b0e50ce579ee0a47ee76110e37
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Jul 3 17:26:01 2013 +0200
modalDialog: Minor coding style fix
https://bugzilla.gnome.org/show_bug.cgi?id=703807
js/ui/modalDialog.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/modalDialog.js b/js/ui/modalDialog.js
index 8af4013..d400b5a 100644
--- a/js/ui/modalDialog.js
+++ b/js/ui/modalDialog.js
@@ -79,9 +79,8 @@ const ModalDialog = new Lang.Class({
this.dialogLayout = new St.BoxLayout({ style_class: 'modal-dialog',
vertical: true });
- if (params.styleClass != null) {
+ if (params.styleClass != null)
this.dialogLayout.add_style_class_name(params.styleClass);
- }
if (!this._shellReactive) {
this._lightbox = new Lightbox.Lightbox(this._group,
@@ -357,8 +356,9 @@ const ModalDialog = new Lang.Class({
if (this._savedKeyFocus) {
this._savedKeyFocus.grab_key_focus();
this._savedKeyFocus = null;
- } else
+ } else {
this._initialKeyFocus.grab_key_focus();
+ }
if (!this._shellReactive)
this._eventBlocker.lower_bottom();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]