Skip to content

Commit

Permalink
window title
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Szczerbiński committed May 21, 2024
1 parent fd8798e commit 7e0948f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/core/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 7e0948f

Please sign in to comment.