2.0.3
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 2m34s
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 2m34s
This commit is contained in:
parent
12936391d4
commit
5ad3318778
2
.github/release-nest-v3
vendored
2
.github/release-nest-v3
vendored
@ -1 +1 @@
|
|||||||
1
|
2
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1323,7 +1323,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pika-installer-gtk4"
|
name = "pika-installer-gtk4"
|
||||||
version = "2.0.1"
|
version = "2.0.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-channel",
|
"async-channel",
|
||||||
"chrono",
|
"chrono",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "pika-installer-gtk4"
|
name = "pika-installer-gtk4"
|
||||||
version = "2.0.1"
|
version = "2.0.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -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
|
pika-installer-gtk4 (2.0.2-101pika2) pika; urgency=low
|
||||||
|
|
||||||
* Refine UI Moar
|
* Refine UI Moar
|
||||||
|
@ -144,5 +144,6 @@
|
|||||||
"drive_mount_row_title_custom": "Custom User Filesystem Entry (ID: {ID})",
|
"drive_mount_row_title_custom": "Custom User Filesystem Entry (ID: {ID})",
|
||||||
"drive_mount_row_subtitle_custom": "A Custom Filesystem Entry Added by You",
|
"drive_mount_row_subtitle_custom": "A Custom Filesystem Entry Added by You",
|
||||||
"manual_partitioning_help_dialog_label": "OK",
|
"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"
|
||||||
}
|
}
|
||||||
|
2
main.sh
2
main.sh
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
VERSION="2.0.2"
|
VERSION="2.0.3"
|
||||||
|
|
||||||
source ./pika-build-config.sh
|
source ./pika-build-config.sh
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ use std::{cell::RefCell, rc::Rc, sync::OnceLock};
|
|||||||
|
|
||||||
use adw::{prelude::*, subclass::prelude::*, *};
|
use adw::{prelude::*, subclass::prelude::*, *};
|
||||||
use glib::{clone, subclass::Signal, Properties};
|
use glib::{clone, subclass::Signal, Properties};
|
||||||
use gtk::{glib};
|
use gtk::glib;
|
||||||
|
|
||||||
// ANCHOR: custom_button
|
// ANCHOR: custom_button
|
||||||
// Object holding the state
|
// Object holding the state
|
||||||
@ -139,12 +139,13 @@ impl ObjectImpl for DriveMountRow {
|
|||||||
.margin_top(5)
|
.margin_top(5)
|
||||||
.margin_start(5)
|
.margin_start(5)
|
||||||
.margin_end(5)
|
.margin_end(5)
|
||||||
.halign(gtk::Align::Center)
|
.halign(gtk::Align::End)
|
||||||
.valign(gtk::Align::Center)
|
//.valign(gtk::Align::Center)
|
||||||
.icon_name("user-trash")
|
.label(t!("partition_row_delete_button_label"))
|
||||||
.build();
|
.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()
|
.sync_create()
|
||||||
.bidirectional()
|
.bidirectional()
|
||||||
.build();
|
.build();
|
||||||
@ -284,6 +285,8 @@ impl ObjectImpl for DriveMountRow {
|
|||||||
mountopts_entry_row,
|
mountopts_entry_row,
|
||||||
#[weak]
|
#[weak]
|
||||||
partition_button_row_dialog,
|
partition_button_row_dialog,
|
||||||
|
#[weak]
|
||||||
|
partition_row_delete_button,
|
||||||
#[strong]
|
#[strong]
|
||||||
is_selected,
|
is_selected,
|
||||||
move |_| {
|
move |_| {
|
||||||
@ -316,6 +319,7 @@ impl ObjectImpl for DriveMountRow {
|
|||||||
"devices_selection_button_row_dialog_ok",
|
"devices_selection_button_row_dialog_ok",
|
||||||
&t!("devices_selection_button_row_dialog_ok_label"),
|
&t!("devices_selection_button_row_dialog_ok_label"),
|
||||||
);
|
);
|
||||||
|
partition_row_delete_button.set_label(&t!("partition_row_delete_button_label"));
|
||||||
}
|
}
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ use crate::{
|
|||||||
config::{MINIMUM_BOOT_BYTE_SIZE, MINIMUM_EFI_BYTE_SIZE, MINIMUM_ROOT_BYTE_SIZE},
|
config::{MINIMUM_BOOT_BYTE_SIZE, MINIMUM_EFI_BYTE_SIZE, MINIMUM_ROOT_BYTE_SIZE},
|
||||||
drive_mount_row::DriveMountRow,
|
drive_mount_row::DriveMountRow,
|
||||||
};
|
};
|
||||||
use adw::{prelude::*};
|
use adw::prelude::*;
|
||||||
use glib::{clone, closure_local};
|
use glib::{clone, closure_local};
|
||||||
use gtk::{gio, glib};
|
use gtk::{gio, glib};
|
||||||
use std::{cell::RefCell, rc::Rc};
|
use std::{cell::RefCell, rc::Rc};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user