aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index dcd03eb..8ead739 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -390,11 +390,11 @@ static GtkMenuShell* create_systray_menu(GtkApplication *app, SystrayPage systra
}
static void setup_systray(GtkApplication *app) {
- app_indicator = app_indicator_new("com.dec05eba.gpu_screen_recorder", tray_idle_icon_name, APP_INDICATOR_CATEGORY_APPLICATION_STATUS);
+ app_indicator = app_indicator_new("com.dec05eba.gpu_screen_recorder", "", APP_INDICATOR_CATEGORY_APPLICATION_STATUS);
+ app_indicator_set_icon_full(app_indicator, tray_idle_icon_name, "Idle");
// This triggers Gdk assert: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed,
// dont know why but it works anyways
app_indicator_set_status(app_indicator, APP_INDICATOR_STATUS_ACTIVE);
- app_indicator_set_title(app_indicator, "GPU Screen Recorder");
app_indicator_set_menu(app_indicator, GTK_MENU(create_systray_menu(app, SystrayPage::FRONT)));
}