Update systray_linux.c (#200)

Support setting the title on Linux.

Co-authored-by: Seth Wright <seth@getlantern.org>
This commit is contained in:
cocotyty
2022-02-22 16:02:53 -05:00
committed by GitHub
co-authored by Seth Wright
parent 2c0986dda9
commit 083193838b
+1
View File
@@ -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);
}