mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-08-03 22:58:44 +00:00
feat: add description to profile editor paths section
This commit is contained in:
parent
0b3bd04819
commit
b91cd05049
1 changed files with 13 additions and 3 deletions
|
@ -123,7 +123,10 @@ impl SimpleComponent for ProfileEditor {
|
||||||
|
|
||||||
self.type_row.set_selected(prof.xrservice_type.as_number());
|
self.type_row.set_selected(prof.xrservice_type.as_number());
|
||||||
|
|
||||||
self.pull_on_build_switch.as_ref().unwrap().set_active(prof.pull_on_build);
|
self.pull_on_build_switch
|
||||||
|
.as_ref()
|
||||||
|
.unwrap()
|
||||||
|
.set_active(prof.pull_on_build);
|
||||||
|
|
||||||
{
|
{
|
||||||
let mut guard = self.env_rows.guard();
|
let mut guard = self.env_rows.guard();
|
||||||
|
@ -423,14 +426,21 @@ impl SimpleComponent for ProfileEditor {
|
||||||
path_rows: FactoryVecDeque::new(
|
path_rows: FactoryVecDeque::new(
|
||||||
adw::PreferencesGroup::builder()
|
adw::PreferencesGroup::builder()
|
||||||
.title("Paths")
|
.title("Paths")
|
||||||
// .description("")
|
.description(concat!(
|
||||||
|
"Where the various components' repositories will be cloned to.\n\n",
|
||||||
|
"Install Prefix will be the path where the components will be ",
|
||||||
|
"installed after building."
|
||||||
|
))
|
||||||
.build(),
|
.build(),
|
||||||
sender.input_sender(),
|
sender.input_sender(),
|
||||||
),
|
),
|
||||||
repo_rows: FactoryVecDeque::new(
|
repo_rows: FactoryVecDeque::new(
|
||||||
adw::PreferencesGroup::builder()
|
adw::PreferencesGroup::builder()
|
||||||
.title("Repositories")
|
.title("Repositories")
|
||||||
.description("Change the repositories from which various components are pulled.\n\nLeave empty to use the default repository.")
|
.description(concat!(
|
||||||
|
"Change the repositories from which various components are pulled.\n\n",
|
||||||
|
"Leave empty to use the default repository."
|
||||||
|
))
|
||||||
.build(),
|
.build(),
|
||||||
sender.input_sender(),
|
sender.input_sender(),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue