mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-11-24 14:56:40 +00:00
Merge pull request #117 from ashaduri/claude/fix-model-family-display-issue
Fix HTML entity encoding in main window labels
This commit is contained in:
1 file changed
+3
-3
@@ -764,7 +764,7 @@ void GscMainWindow::update_status_widgets()
|
||||
+ (model.empty() ? "" : (", " + model));
|
||||
if (name_label_) {
|
||||
name_label_->set_markup(info_str);
|
||||
app_gtkmm_set_widget_tooltip(*name_label_, info_str, false); // in case it doesn't fit
|
||||
app_gtkmm_set_widget_tooltip(*name_label_, info_str, true); // in case it doesn't fit
|
||||
}
|
||||
|
||||
const StorageProperty health_prop = drive->get_health_property();
|
||||
@@ -792,8 +792,8 @@ void GscMainWindow::update_status_widgets()
|
||||
}
|
||||
|
||||
if (family_label_) {
|
||||
family_label_->set_text(family);
|
||||
app_gtkmm_set_widget_tooltip(*family_label_, family, false); // in case it doesn't fit
|
||||
family_label_->set_markup(family);
|
||||
app_gtkmm_set_widget_tooltip(*family_label_, family, true); // in case it doesn't fit
|
||||
}
|
||||
|
||||
// std::string status_str = " " + device + (size.empty() ? "" : (", " + size)) + (family_fallback.empty() ? "" : (", " + family_fallback));
|
||||
|
||||
Reference in new issue
Block a user