mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-30 13:04:13 +00:00
add comments
This commit is contained in:
parent
e204460e59
commit
330252f8e0
@ -37,5 +37,6 @@ void Subtitle::set(
|
||||
TEXT
|
||||
);
|
||||
|
||||
// Use GTK3 header behaviour
|
||||
if (get_text().empty()) hide(); else show();
|
||||
}
|
@ -34,9 +34,11 @@ Title::~Title() = default;
|
||||
void Title::set(
|
||||
const Glib::ustring & TEXT
|
||||
) {
|
||||
// Append app name postfix
|
||||
set_text(
|
||||
TEXT.empty() || TEXT == DEFAULT_TEXT ? DEFAULT_TEXT : TEXT + " - " + DEFAULT_TEXT
|
||||
);
|
||||
|
||||
// Use GTK3 header behaviour
|
||||
if (get_text().empty()) hide(); else show();
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user