on xenial help sign in
MenuItemFactory: ensure that the text is always full opauqe, even if disabled
df4d190Marco Trevisan (Treviño)
qml/Panel/Indicators/MenuItemFactory.qml+1−5
@@ -233,11 +233,7 @@ Item {
233 iconSource: menuData && menuData.icon || ""
233 iconSource: menuData && menuData.icon || ""
234 value : menuData && menuData.actionState || 0.0
234 value : menuData && menuData.actionState || 0.0
235 enabled: menuData && menuData.sensitive || false
235 enabled: menuData && menuData.sensitive || false
236− // FIXME: Because of this bug, setting it to the theme foreground color (white)
236+ title.opacity: 1
237− // currently doesn't work. Let's hack it to be "close enough"
238− // https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1555784
239− foregroundColor: "#fffffe"
240− highlightWhenPressed: false
241 }
237 }
242 }
238 }
243
239