extension-prefs-tool: fix sensitivity of combobox items
Extensions are load asynchronously, and they're availability can change at times, so sensitivity must sometimes be restored to true. https://bugzilla.gnome.org/show_bug.cgi?id=670006
This commit is contained in:
parent
7705a65beb
commit
41f0e133a9
@ -70,8 +70,7 @@ const Application = new Lang.Class({
|
||||
|
||||
_setExtensionInsensitive: function(layout, cell, model, iter, data) {
|
||||
let uuid = model.get_value(iter, 0);
|
||||
if (!this._extensionAvailable(uuid))
|
||||
cell.set_sensitive(false);
|
||||
cell.set_sensitive(this._extensionAvailable(uuid));
|
||||
},
|
||||
|
||||
_getExtensionPrefsModule: function(extension) {
|
||||
|
Loading…
Reference in New Issue
Block a user