Skip to content

Commit f245b61

Browse files
committed
fixed indentation
1 parent aab41bb commit f245b61

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

nemo-preview/src/js/ui/application.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,15 @@ var Application = new Lang.Class({
9494
this._mainWindow.close();
9595
},
9696

97-
ShowFile : function(uri, xid, closeIfAlreadyShown) {
98-
let file = Gio.file_new_for_uri(uri);
99-
if (closeIfAlreadyShown &&
100-
this._mainWindow.file &&
101-
this._mainWindow.file.equal(file)) {
102-
this._mainWindow.close();
103-
return;
104-
}
97+
ShowFile: function(uri, xid, closeIfAlreadyShown) {
98+
let file = Gio.file_new_for_uri(uri);
99+
if (closeIfAlreadyShown &&
100+
this._mainWindow.file &&
101+
this._mainWindow.file.equal(file)
102+
) {
103+
this._mainWindow.close();
104+
return;
105+
}
105106
this._mainWindow.setParent(xid);
106107
this._mainWindow.setFile(file);
107108
}

0 commit comments

Comments
 (0)