[gnome-documents] mainToolbar: Connect to action-state-changed for consistency
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] mainToolbar: Connect to action-state-changed for consistency
- Date: Mon, 2 Nov 2015 18:10:27 +0000 (UTC)
commit 3934a00179c95fd4890e5fe2f4a0a902c2848599
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Nov 2 17:25:10 2015 +0100
mainToolbar: Connect to action-state-changed for consistency
src/mainToolbar.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mainToolbar.js b/src/mainToolbar.js
index 29037b1..eb82ee4 100644
--- a/src/mainToolbar.js
+++ b/src/mainToolbar.js
@@ -165,7 +165,7 @@ const OverviewToolbar = new Lang.Class({
action_target: GLib.Variant.new('s', 'icon') });
viewAsBox.add(this._viewGridButton);
- this._viewSettingsId = Application.settings.connect('changed::view-as',
+ this._viewSettingsId = Application.application.connect('action-state-changed::view-as',
Lang.bind(this, this._updateViewAsButtons));
this._updateViewAsButtons();
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]