From d1067b8d2578a2cffa7915721d0063070b8904bf Mon Sep 17 00:00:00 2001 From: MrSyabro Date: Tue, 16 Aug 2022 22:58:38 +0300 Subject: [PATCH] Fixes --- meson.build | 2 +- src/window.lua | 3 +++ src/window.ui | 15 ++++++++------- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/meson.build b/meson.build index 6e0ecf9..c3de65b 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('lgi_example', - version: '0.1.0', + version: '0.1.1', meson_version: '>= 0.59.0', default_options: [ 'warning_level=2', 'werror=false', diff --git a/src/window.lua b/src/window.lua index 66fa0ea..cd641f7 100644 --- a/src/window.lua +++ b/src/window.lua @@ -19,6 +19,9 @@ end function UI.about_button:on_clicked() print("About button clicked") local dialog = Gtk.AboutDialog { + authors = {"Alexandr"}, + transient_for = self, + modal = true, program_name = CONFIG.name, version = CONFIG.version, website = "https://github.com/MrSyabro/lgi_example" diff --git a/src/window.ui b/src/window.ui index db36bff..3a04c7d 100644 --- a/src/window.ui +++ b/src/window.ui @@ -18,6 +18,11 @@ center Lua LGI Example + + + + + @@ -25,32 +30,28 @@ Этот пример написан на Lua с использованием LGI библиотеки. Упакованый в Flatpak. True True + True True 6 - 6 - 6 6 - 6 True LGI Source - 6 6 6 - 6 True About - 6 - 6 + 6 + 6 True