Switch back to libcosmic upstream
This commit is contained in:
parent
c7b25daa71
commit
276ecc7d6c
19 changed files with 247 additions and 232 deletions
|
|
@ -39,7 +39,7 @@ impl cosmic::Application for Button {
|
|||
}
|
||||
|
||||
fn style(&self) -> Option<<Theme as application::StyleSheet>::Style> {
|
||||
Some(cosmic::app::applet::style())
|
||||
Some(cosmic::applet::style())
|
||||
}
|
||||
|
||||
fn update(&mut self, message: Msg) -> app::Command<Msg> {
|
||||
|
|
@ -89,5 +89,5 @@ pub fn main() -> iced::Result {
|
|||
let desktop = desktop.expect(&format!(
|
||||
"Failed to find valid desktop file '{filename}' in search paths"
|
||||
));
|
||||
cosmic::app::applet::run::<Button>(true, desktop)
|
||||
cosmic::applet::run::<Button>(true, desktop)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue