on xenial help sign in
more hacky, but better for the user
commit4ba8c664a7ecd47327988c5692b43a3198ead786 authorMichael Zanetti <michael.zanetti@canonical.com> dateFri 11 Mar 2016, 17:59 (11 years ago) parentb1d16d3
1 file changed+5
qml/Panel/Indicators/MenuItemFactory.qml+5
qml/Panel/Indicators/MenuItemFactory.qml+5
@@ -228,6 +228,11 @@ Item {
228228 text: menuData && menuData.label || ""
229229 iconSource: menuData && menuData.icon || ""
230230 value : menuData && menuData.actionState || 0.0
231+ enabled: menuData && menuData.sensitive || false
232+ // FIXME: Because of this bug, setting it to the theme foreground color (white)
233+ // currently doesn't work. Let's hack it to be "close enough"
234+ // https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1555784
235+ foregroundColor: "#fffffe"
231236 highlightWhenPressed: false
232237 }
233238 }