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:
Giovanni Campagna 2012-02-13 15:22:55 +01:00
parent 7705a65beb
commit 41f0e133a9

View File

@ -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) {