Port ModalDialog to the class framework
Similar to the previous commits, time to port shell modal dialogs to the class framework. https://bugzilla.gnome.org/show_bug.cgi?id=664436
This commit is contained in:
@ -29,11 +29,9 @@ const State = {
|
||||
FADED_OUT: 4
|
||||
};
|
||||
|
||||
function ModalDialog() {
|
||||
this._init();
|
||||
}
|
||||
const ModalDialog = new Lang.Class({
|
||||
Name: 'ModalDialog',
|
||||
|
||||
ModalDialog.prototype = {
|
||||
_init: function(params) {
|
||||
params = Params.parse(params, { shellReactive: false,
|
||||
styleClass: null });
|
||||
@ -303,5 +301,5 @@ ModalDialog.prototype = {
|
||||
})
|
||||
});
|
||||
}
|
||||
};
|
||||
});
|
||||
Signals.addSignalMethods(ModalDialog.prototype);
|
||||
|
Reference in New Issue
Block a user