mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
Small coding style fixes
This commit is contained in:
parent
9b38c5b304
commit
668920cec4
2 changed files with 3 additions and 3 deletions
|
|
@ -110,7 +110,7 @@ ModalDialog.prototype = {
|
|||
this._buttonLayout.destroy_children();
|
||||
this._actionKeys = {};
|
||||
|
||||
for (let i = 0; i < buttons.length; i ++) {
|
||||
for (let i = 0; i < buttons.length; i++) {
|
||||
let buttonInfo = buttons[i];
|
||||
let label = buttonInfo['label'];
|
||||
let action = buttonInfo['action'];
|
||||
|
|
|
|||
|
|
@ -900,7 +900,7 @@ ChatNotification.prototype = {
|
|||
}
|
||||
|
||||
let groups = this._contentArea.get_children();
|
||||
for (let i = 0; i < groups.length; i ++) {
|
||||
for (let i = 0; i < groups.length; i++) {
|
||||
let group = groups[i];
|
||||
if (group.get_children().length == 0)
|
||||
group.destroy();
|
||||
|
|
@ -938,7 +938,7 @@ ChatNotification.prototype = {
|
|||
let body = highlighter.actor;
|
||||
|
||||
let styles = props.styles;
|
||||
for (let i = 0; i < styles.length; i ++)
|
||||
for (let i = 0; i < styles.length; i++)
|
||||
body.add_style_class_name(styles[i]);
|
||||
|
||||
let group = props.group;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue