notificationDaemon: Unpack button label

deep_unpack() doesn't unpack as deeply as one might hope ...

https://bugzilla.gnome.org/show_bug.cgi?id=710596
This commit is contained in:
Florian Müllner 2013-10-26 04:38:42 +02:00
parent 2c538d247b
commit dac513e046

View File

@ -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));
}));
}