mirror of
https://github.com/netbirdio/systray.git
synced 2026-05-22 17:08:41 -07:00
Update systray_linux.c (#200)
Support setting the title on Linux. Co-authored-by: Seth Wright <seth@getlantern.org>
This commit is contained in:
@@ -222,6 +222,7 @@ void setIcon(const char* iconBytes, int length, bool template) {
|
||||
}
|
||||
|
||||
void setTitle(char* ctitle) {
|
||||
app_indicator_set_title(global_app_indicator, ctitle);
|
||||
app_indicator_set_label(global_app_indicator, ctitle, "");
|
||||
free(ctitle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user