diff --git a/meson.build b/meson.build index a89a27857..ef9254f97 100644 --- a/meson.build +++ b/meson.build @@ -13,7 +13,7 @@ gnome = import('gnome') i18n = import('i18n') distinst_dep = dependency('distinst') -glib_dep = dependency('glib-2.0') +glib_dep = dependency('glib-2.0', version: '>=2.74') gobject_dep = dependency('gobject-2.0') gtk_dep = dependency('gtk+-3.0') gee_dep = dependency('gee-0.8') diff --git a/po/uk.po b/po/uk.po index e60026ad1..5c038b921 100644 --- a/po/uk.po +++ b/po/uk.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-05-02 03:15+0000\n" -"PO-Revision-Date: 2024-03-15 21:13+0000\n" +"PO-Revision-Date: 2024-05-08 14:13+0000\n" "Last-Translator: Ihor Hordiichuk \n" "Language-Team: Ukrainian \n" @@ -13,7 +13,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 5.0.2\n" +"X-Generator: Weblate 5.5\n" "X-Launchpad-Export-Date: 2016-09-27 06:41+0000\n" #: src/Application.vala:42 @@ -355,16 +355,12 @@ msgstr "Необхідно вибрати принаймні кореневи #. Device is in EFI mode, so we also require a boot partition #: src/Views/PartitioningView.vala:62 -#, fuzzy -#| msgid "" -#| "You must at least select a Root (/) partition and a Boot (/boot/" -#| "efi) partition." msgid "" "You must at least select a Root (/) partition and an optional Boot " "(/boot/efi) partition." msgstr "" -"Необхідно вибрати принаймні кореневий (/) та розділ завантаження (/" -"boot/efi)." +"Необхідно вибрати принаймні кореневий (/) та опційний розділ " +"завантаження (/boot/efi)." #: src/Views/PartitioningView.vala:66 msgid "It is also recommended to select a Swap partition." diff --git a/src/Views/KeyboardLayoutView.vala b/src/Views/KeyboardLayoutView.vala index db44a2fc2..838b0a5d6 100644 --- a/src/Views/KeyboardLayoutView.vala +++ b/src/Views/KeyboardLayoutView.vala @@ -186,7 +186,7 @@ public class KeyboardLayoutView : AbstractInstallerView { show_all (); - Idle.add (() => { + Idle.add_once (() => { string? country = Configuration.get_default ().country; if (country != null) { string default_layout = country.down (); diff --git a/src/Widgets/PartitionBar.vala b/src/Widgets/PartitionBar.vala index 0c99d944b..fa0193326 100644 --- a/src/Widgets/PartitionBar.vala +++ b/src/Widgets/PartitionBar.vala @@ -5,7 +5,7 @@ * Authored by: Michael Aaron Murphy */ -public class Installer.PartitionBar : Gtk.Box { +public class Installer.PartitionBar : Gtk.EventBox { public signal void decrypted (InstallerDaemon.LuksCredentials credential); public Icon? icon { get; set; default = null; } @@ -43,6 +43,9 @@ public class Installer.PartitionBar : Gtk.Box { menu.relative_to = this; menu.position = BOTTOM; + + click_gesture = new Gtk.GestureMultiPress (this); + click_gesture.released.connect (menu.popup); } class construct { @@ -64,9 +67,6 @@ public class Installer.PartitionBar : Gtk.Box { get_style_context ().add_class (Distinst.strfilesys (partition.filesystem)); - click_gesture = new Gtk.GestureMultiPress (this); - click_gesture.released.connect (menu.popup); - bind_property ("icon", image, "gicon", SYNC_CREATE); }