Port all classes with inheritance to class framework
All classes that have at least one other derived class (and thus benefit from the framework) have been now ported. These includes NMDevice, SearchProvider, AltTab.SwitcherList, and some other stuff around. https://bugzilla.gnome.org/show_bug.cgi?id=664436
This commit is contained in:
@ -10,11 +10,9 @@ const Params = imports.misc.params;
|
||||
const ICON_SIZE = 48;
|
||||
|
||||
|
||||
function BaseIcon(label, createIcon) {
|
||||
this._init(label, createIcon);
|
||||
}
|
||||
const BaseIcon = new Lang.Class({
|
||||
Name: 'BaseIcon',
|
||||
|
||||
BaseIcon.prototype = {
|
||||
_init : function(label, params) {
|
||||
params = Params.parse(params, { createIcon: null,
|
||||
setSizeManually: false,
|
||||
@ -149,7 +147,7 @@ BaseIcon.prototype = {
|
||||
|
||||
this._createIconTexture(size);
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
function IconGrid(params) {
|
||||
this._init(params);
|
||||
|
Reference in New Issue
Block a user