mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-28 22:55:33 +00:00
Fix barely readable info cell texts
By simply resetting values, the rendered cell text colors are barely readable. Setting Pango::WEIGHT_NORMAL instead of resetting seems to fix this nicely without any negative consequences. Signed-off-by: Harald Judt <h.judt@gmx.at>
This commit is contained in:
@@ -133,7 +133,7 @@ namespace {
|
||||
if (p->is_value_type<AtaStorageStatistic>() && p->get_value<AtaStorageStatistic>().is_header) {
|
||||
crt->property_weight() = Pango::WEIGHT_BOLD;
|
||||
} else {
|
||||
crt->property_weight().reset_value();
|
||||
crt->property_weight() = Pango::WEIGHT_NORMAL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user