[sushi/wip/cosimoc/no-clutter: 28/50] Remove SpinnerBox
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi/wip/cosimoc/no-clutter: 28/50] Remove SpinnerBox
- Date: Mon, 17 Jun 2019 18:34:58 +0000 (UTC)
commit 3addf17c6e6d7c99580e273b26b08427e9a06f80
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sun Apr 9 11:54:29 2017 -0700
Remove SpinnerBox
This is really not required in general.
We may add back a spinner to the PDF viewer for LibreOffice documents,
but even then it feels like a better solution to use LibreOfficeKit.
For now, let's just remove it.
src/js/ui/mainWindow.js | 5 ---
src/js/ui/spinnerBox.js | 90 -------------------------------------------------
2 files changed, 95 deletions(-)
---
diff --git a/src/js/ui/mainWindow.js b/src/js/ui/mainWindow.js
index d568e11..9c60fff 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -35,7 +35,6 @@ const Sushi = imports.gi.Sushi;
const Constants = imports.util.constants;
const MimeHandler = imports.ui.mimeHandler;
-const SpinnerBox = imports.ui.spinnerBox;
var MainWindow = new Lang.Class({
Name: 'MainWindow',
@@ -187,7 +186,6 @@ var MainWindow = new Lang.Class({
* if the loading takes too long.
*/
this._renderer = new SpinnerBox.SpinnerBox();
- this._renderer.startTimeout();
file.query_info_async
(Gio.FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME + ',' +
@@ -210,9 +208,6 @@ var MainWindow = new Lang.Class({
},
_onRendererPrepared : function() {
- /* destroy the spinner renderer */
- this._renderer.destroy();
-
this._renderer = this._pendingRenderer;
this._pendingRenderer = null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]