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:
parent
2c538d247b
commit
dac513e046
@ -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));
|
||||
}));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user