chore: source app display name from platform config
This commit is contained in:
1 parent
d8543cc0f3
commit
77eb0de1c3
6 files changed
+18
-5
No files matched your search
@@ -31,7 +31,10 @@ static void my_application_activate(GApplication* application) {
|
||||
// out of place and noticeably thicker than the native title bar. Relying on
|
||||
// the compositor gives the native Breeze/KWin decoration on Plasma, and the
|
||||
// desktop's own title bar everywhere else.
|
||||
gtk_window_set_title(window, "KiriMemo");
|
||||
// The title comes from APPLICATION_TITLE in linux/CMakeLists.txt (passed as a
|
||||
// preprocessor definition by linux/runner/CMakeLists.txt), so the name lives
|
||||
// in the project configuration instead of being duplicated here.
|
||||
gtk_window_set_title(window, APPLICATION_TITLE);
|
||||
|
||||
gtk_window_set_default_size(window, 1280, 720);
|
||||
|
||||
|
||||
Reference in new issue
Block a user