diff --git a/js/ui/dialog.js b/js/ui/dialog.js index dacdf3d39..8e9fb5090 100644 --- a/js/ui/dialog.js +++ b/js/ui/dialog.js @@ -228,6 +228,9 @@ var MessageDialogContent = GObject.registerClass({ } set title(title) { + if (this._title.text === title) + return; + _setLabel(this._title, title); this._title.remove_style_class_name('leightweight'); @@ -237,6 +240,9 @@ var MessageDialogContent = GObject.registerClass({ } set description(description) { + if (this._description.text === description) + return; + _setLabel(this._description, description); this.notify('description'); }