From 7e0948f7225d1e89942c4d172bb527c0534937fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Szczerbi=C5=84ski?= Date: Tue, 21 May 2024 12:28:12 +0200 Subject: [PATCH] window title --- src/core/main.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/core/main.c b/src/core/main.c index a22af4d..9d2686f 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -128,14 +128,16 @@ static void activate(GtkApplication *app, gpointer userdata) controls[i].widget = (GtkWidget *)gtk_builder_get_object(builder, controls[i].name); - gtk_window_set_application( - GTK_WINDOW(controls[CONTROL_MAIN_WND].widget), GTK_APPLICATION(app) + gtk_window_set_title( + GTK_WINDOW(WID(CONTROL_MAIN_WND)), "Layered WallPaper" ); - gtk_label_set_text( - GTK_LABEL(controls[CONTROL_VER_LABEL].widget), PROGRAM_VERSION + gtk_window_set_application( + GTK_WINDOW(WID(CONTROL_MAIN_WND)), GTK_APPLICATION(app) ); + gtk_label_set_text(GTK_LABEL(WID(CONTROL_VER_LABEL)), PROGRAM_VERSION); + runWlp(); }