mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add comments
This commit is contained in:
parent
e204460e59
commit
330252f8e0
2 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue