[gnome-shell] calendar: Fix access to undefined property
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] calendar: Fix access to undefined property
- Date: Thu, 13 Jul 2017 15:26:39 +0000 (UTC)
commit b73c96d14c13858ba48ff3dec0b3131b83bb8adb
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Jun 13 06:41:08 2017 +0200
calendar: Fix access to undefined property
Don't call a parent method before chaining-up _init() to
avoid a warning about access to an undefined property.
https://bugzilla.gnome.org/show_bug.cgi?id=781471
js/ui/calendar.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index 32718ea..f27c894 100644
--- a/js/ui/calendar.js
+++ b/js/ui/calendar.js
@@ -761,8 +761,8 @@ const NotificationMessage = new Lang.Class({
_init: function(notification) {
this.notification = notification;
- this.setUseBodyMarkup(notification.bannerBodyMarkup);
this.parent(notification.title, notification.bannerBodyText);
+ this.setUseBodyMarkup(notification.bannerBodyMarkup);
this.setIcon(this._getIcon());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]