refactor(applet): move applet module to crate root
This commit is contained in:
parent
69cd9a3bfa
commit
8f7b400143
6 changed files with 20 additions and 17 deletions
|
|
@ -47,9 +47,11 @@ pub struct Core {
|
|||
pub(super) system_theme: Theme,
|
||||
|
||||
pub(super) title: String,
|
||||
|
||||
pub window: Window,
|
||||
|
||||
#[cfg(feature = "applet")]
|
||||
pub applet_helper: super::applet::CosmicAppletHelper,
|
||||
pub applet: crate::applet::Context,
|
||||
}
|
||||
|
||||
impl Default for Core {
|
||||
|
|
@ -78,7 +80,7 @@ impl Default for Core {
|
|||
width: 0,
|
||||
},
|
||||
#[cfg(feature = "applet")]
|
||||
applet_helper: super::applet::CosmicAppletHelper::default(),
|
||||
applet: crate::applet::Context::default(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue