Skip to content

Commit 8a61256

Browse files
wash2mmstick
authored andcommitted
chore: update libcosmic & cleanup
this should fix the add applet issue
1 parent 994dfda commit 8a61256

File tree

6 files changed

+96
-94
lines changed

6 files changed

+96
-94
lines changed

Cargo.lock

+72-58
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

-5
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,3 @@ rev = "2e9bf9f"
2929

3030
[profile.release]
3131
opt-level = 3
32-
33-
[patch.crates-io]
34-
wgpu = { git = "https://github.com/gfx-rs/wgpu", rev = "faed98b" }
35-
36-

app/src/app.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,11 @@ impl cosmic::Application for SettingsApp {
159159
fn on_close_requested(&self, id: window::Id) -> Option<Self::Message> {
160160
let message = if id == *applets_inner::ADD_PANEL_APPLET_DIALOGUE_ID {
161161
Message::PageMessage(crate::pages::Message::PanelApplet(
162-
applets_inner::Message::ClosedAppletDialogue,
162+
applets_inner::Message::ClosedAppletDialog,
163163
))
164164
} else if id == *ADD_DOCK_APPLET_DIALOGUE_ID {
165165
Message::PageMessage(crate::pages::Message::DockApplet(dock::applets::Message(
166-
applets_inner::Message::ClosedAppletDialogue,
166+
applets_inner::Message::ClosedAppletDialog,
167167
)))
168168
} else if id == *COLOR_PICKER_DIALOG_ID {
169169
Message::PageMessage(crate::pages::Message::Appearance(

app/src/pages/desktop/dock/applets.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl Default for Page {
3838
current_config,
3939
reorder_widget_state: ReorderWidgetState::default(),
4040
search: String::new(),
41-
has_dialogue: false,
41+
has_dialog: false,
4242
},
4343
}
4444
}

0 commit comments

Comments
 (0)