handle favoriting from the dock popover menu

This commit is contained in:
Ashley Wulber 2022-01-04 16:53:28 -05:00
parent 69b7ab5906
commit 849333df3d
4 changed files with 71 additions and 4 deletions

View file

@ -13,9 +13,9 @@ use crate::utils::BoxedWindowList;
// Object holding the state
#[derive(Default)]
pub struct DockObject {
appinfo: RefCell<Option<DesktopAppInfo>>,
active: RefCell<BoxedWindowList>,
saved: Cell<bool>,
pub(super) appinfo: RefCell<Option<DesktopAppInfo>>,
pub(super) active: RefCell<BoxedWindowList>,
pub(super) saved: Cell<bool>,
pub(super) popover: Cell<bool>,
}