properties: Remove usage of breakpoints

This commit is contained in:
Sophie Herold 2024-12-19 23:25:50 +01:00
parent 2753447a0d
commit dd359235cf
8 changed files with 210 additions and 385 deletions

View file

@ -34,7 +34,7 @@ use crate::widgets::{LpEditWindow, LpImageView, LpImageWindow};
const SHOW_WINDOW_AFTER: u64 = 2000;
mod imp {
use std::cell::Cell;
use std::cell::{Cell, RefCell};
use super::*;
@ -70,6 +70,10 @@ mod imp {
narrow_layout: Cell<bool>,
#[property(get, set)]
wide_layout: Cell<bool>,
#[property(get, set)]
layout_name: RefCell<String>,
#[property(get, set)]
not_fullscreened: Cell<bool>,
}
#[glib::object_subclass]