We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aab41bb commit f245b61Copy full SHA for f245b61
nemo-preview/src/js/ui/application.js
@@ -94,14 +94,15 @@ var Application = new Lang.Class({
94
this._mainWindow.close();
95
},
96
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
- }
+ ShowFile: function(uri, xid, closeIfAlreadyShown) {
+ let file = Gio.file_new_for_uri(uri);
+ if (closeIfAlreadyShown &&
+ this._mainWindow.file &&
+ this._mainWindow.file.equal(file)
+ ) {
+ this._mainWindow.close();
+ return;
105
+ }
106
this._mainWindow.setParent(xid);
107
this._mainWindow.setFile(file);
108
}
0 commit comments