fix more data changes

This commit is contained in:
Ward from fusion-voyager-3 2024-08-22 00:46:15 +03:00
parent 20935ab35d
commit 2918d5269f
3 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ use adw::{prelude::*, subclass::prelude::*, *};
use glib::{clone, subclass::Signal, Properties};
use gtk::{glib, Orientation::Horizontal};
use crate::partitioning_page::FstabEntry;
use crate::{build_ui::{FstabEntry}};
// ANCHOR: custom_button
// Object holding the state

View File

@ -3,8 +3,7 @@ mod imp;
use glib::Object;
use gtk::glib;
use crate::partitioning_page::create_parition_struct;
use crate::partitioning_page::FstabEntry;
use crate::{build_ui::{FstabEntry}, partitioning_page::create_parition_struct};
glib::wrapper! {
pub struct DriveMountRow(ObjectSubclass<imp::DriveMountRow>)

View File

@ -63,6 +63,7 @@ pub fn keyboard_page(
keyboard_test_entry_boxed_list.add_css_class("round-border-only-bottom");
let current_keymap = "us";
let current_keymap_variant: Option<String> = None;
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);
}
}