[gnome-documents/wip/cosimoc/view-rework: 2/20] embed: don't pass the overlay for OverviewToolbar
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/wip/cosimoc/view-rework: 2/20] embed: don't pass the overlay for OverviewToolbar
- Date: Mon, 8 Aug 2016 15:06:39 +0000 (UTC)
commit 55f0d1c053940ff11afabe7c05a797e68f149c78
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sun Jul 31 16:55:59 2016 -0700
embed: don't pass the overlay for OverviewToolbar
It's unused.
src/embed.js | 2 +-
src/mainToolbar.js | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/embed.js b/src/embed.js
index 2ab34fd..9a34a92 100644
--- a/src/embed.js
+++ b/src/embed.js
@@ -417,7 +417,7 @@ const Embed = new Lang.Class({
this._toolbar.destroy();
// pack the toolbar
- this._toolbar = new MainToolbar.OverviewToolbar(this._stackOverlay, this._stack);
+ this._toolbar = new MainToolbar.OverviewToolbar(this._stack);
this._titlebar.add(this._toolbar);
}
diff --git a/src/mainToolbar.js b/src/mainToolbar.js
index d2f9c08..e80ee8b 100644
--- a/src/mainToolbar.js
+++ b/src/mainToolbar.js
@@ -134,8 +134,7 @@ const OverviewToolbar = new Lang.Class({
Name: 'OverviewToolbar',
Extends: MainToolbar,
- _init: function(overlay, stack) {
- this._overlay = overlay;
+ _init: function(stack) {
this._collBackButton = null;
this._collectionId = 0;
this._selectionChangedId = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]