fix more data changes
This commit is contained in:
parent
20935ab35d
commit
2918d5269f
@ -4,7 +4,7 @@ use adw::{prelude::*, subclass::prelude::*, *};
|
|||||||
use glib::{clone, subclass::Signal, Properties};
|
use glib::{clone, subclass::Signal, Properties};
|
||||||
use gtk::{glib, Orientation::Horizontal};
|
use gtk::{glib, Orientation::Horizontal};
|
||||||
|
|
||||||
use crate::partitioning_page::FstabEntry;
|
use crate::{build_ui::{FstabEntry}};
|
||||||
|
|
||||||
// ANCHOR: custom_button
|
// ANCHOR: custom_button
|
||||||
// Object holding the state
|
// Object holding the state
|
||||||
|
@ -3,8 +3,7 @@ mod imp;
|
|||||||
use glib::Object;
|
use glib::Object;
|
||||||
use gtk::glib;
|
use gtk::glib;
|
||||||
|
|
||||||
use crate::partitioning_page::create_parition_struct;
|
use crate::{build_ui::{FstabEntry}, partitioning_page::create_parition_struct};
|
||||||
use crate::partitioning_page::FstabEntry;
|
|
||||||
|
|
||||||
glib::wrapper! {
|
glib::wrapper! {
|
||||||
pub struct DriveMountRow(ObjectSubclass<imp::DriveMountRow>)
|
pub struct DriveMountRow(ObjectSubclass<imp::DriveMountRow>)
|
||||||
|
@ -63,6 +63,7 @@ pub fn keyboard_page(
|
|||||||
keyboard_test_entry_boxed_list.add_css_class("round-border-only-bottom");
|
keyboard_test_entry_boxed_list.add_css_class("round-border-only-bottom");
|
||||||
|
|
||||||
let current_keymap = "us";
|
let current_keymap = "us";
|
||||||
|
let current_keymap_variant: Option<String> = None;
|
||||||
|
|
||||||
let xkbinfo = gnome_desktop::XkbInfo::new();
|
let xkbinfo = gnome_desktop::XkbInfo::new();
|
||||||
|
|
||||||
@ -147,7 +148,7 @@ pub fn keyboard_page(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
));
|
));
|
||||||
if current_keymap == keymap_clone1.name {
|
if current_keymap == keymap_clone1.name && current_keymap_variant == keymap_clone1.variant {
|
||||||
keymap_checkbutton.set_active(true);
|
keymap_checkbutton.set_active(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user