2.0.3
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 2m34s

This commit is contained in:
Ward from fusion-voyager-3 2024-11-27 19:42:58 +03:00
parent 12936391d4
commit 5ad3318778
8 changed files with 22 additions and 11 deletions

View File

@ -1 +1 @@
1
2

2
Cargo.lock generated
View File

@ -1323,7 +1323,7 @@ dependencies = [
[[package]]
name = "pika-installer-gtk4"
version = "2.0.1"
version = "2.0.3"
dependencies = [
"async-channel",
"chrono",

View File

@ -1,6 +1,6 @@
[package]
name = "pika-installer-gtk4"
version = "2.0.1"
version = "2.0.3"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
pika-installer-gtk4 (2.0.3-101pika1) pika; urgency=low
* Refine UI Again
-- Ward Nakchbandi <hotrod.master@hotmail.com> Thu, 20 Sep 2022 22:01:00 +0000
pika-installer-gtk4 (2.0.2-101pika2) pika; urgency=low
* Refine UI Moar

View File

@ -144,5 +144,6 @@
"drive_mount_row_title_custom": "Custom User Filesystem Entry (ID: {ID})",
"drive_mount_row_subtitle_custom": "A Custom Filesystem Entry Added by You",
"manual_partitioning_help_dialog_label": "OK",
"manual_partitioning_help_button_label": "Need Help?"
"manual_partitioning_help_button_label": "Need Help?",
"partition_row_delete_button_label": "Delete Filesystem Entry"
}

View File

@ -2,7 +2,7 @@
set -e
VERSION="2.0.2"
VERSION="2.0.3"
source ./pika-build-config.sh

View File

@ -2,7 +2,7 @@ use std::{cell::RefCell, rc::Rc, sync::OnceLock};
use adw::{prelude::*, subclass::prelude::*, *};
use glib::{clone, subclass::Signal, Properties};
use gtk::{glib};
use gtk::glib;
// ANCHOR: custom_button
// Object holding the state
@ -139,12 +139,13 @@ impl ObjectImpl for DriveMountRow {
.margin_top(5)
.margin_start(5)
.margin_end(5)
.halign(gtk::Align::Center)
.valign(gtk::Align::Center)
.icon_name("user-trash")
.halign(gtk::Align::End)
//.valign(gtk::Align::Center)
.label(t!("partition_row_delete_button_label"))
.build();
partition_row_delete_button.add_css_class("destructive-action");
obj.bind_property("deletable", &partition_row_delete_button, "visible")
obj.bind_property("deletable", &partition_row_delete_button, "sensitive")
.sync_create()
.bidirectional()
.build();
@ -284,6 +285,8 @@ impl ObjectImpl for DriveMountRow {
mountopts_entry_row,
#[weak]
partition_button_row_dialog,
#[weak]
partition_row_delete_button,
#[strong]
is_selected,
move |_| {
@ -316,6 +319,7 @@ impl ObjectImpl for DriveMountRow {
"devices_selection_button_row_dialog_ok",
&t!("devices_selection_button_row_dialog_ok_label"),
);
partition_row_delete_button.set_label(&t!("partition_row_delete_button_label"));
}
));
}

View File

@ -3,7 +3,7 @@ use crate::{
config::{MINIMUM_BOOT_BYTE_SIZE, MINIMUM_EFI_BYTE_SIZE, MINIMUM_ROOT_BYTE_SIZE},
drive_mount_row::DriveMountRow,
};
use adw::{prelude::*};
use adw::prelude::*;
use glib::{clone, closure_local};
use gtk::{gio, glib};
use std::{cell::RefCell, rc::Rc};