[gnome-shell] notificationDaemon: Unpack button label
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] notificationDaemon: Unpack button label
- Date: Sun, 27 Oct 2013 10:43:34 +0000 (UTC)
commit dac513e0460d1921a50dd25a54742adc1c267973
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Oct 26 04:38:42 2013 +0200
notificationDaemon: Unpack button label
deep_unpack() doesn't unpack as deeply as one might hope ...
https://bugzilla.gnome.org/show_bug.cgi?id=710596
js/ui/notificationDaemon.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js
index b886ac3..928b1a9 100644
--- a/js/ui/notificationDaemon.js
+++ b/js/ui/notificationDaemon.js
@@ -736,7 +736,8 @@ const GtkNotificationDaemonNotification = new Lang.Class({
if (buttons) {
buttons.deep_unpack().forEach(Lang.bind(this, function(button) {
- this.addAction(button.label, Lang.bind(this, this._onButtonClicked, button));
+ this.addAction(button.label.unpack(),
+ Lang.bind(this, this._onButtonClicked, button));
}));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]