Commit graph

8 commits

Author SHA1 Message Date
Ian Douglas Scott
6d7727a5d0 Update sctk, libcosmic, cosmic-client-toolkit 2023-03-02 14:06:52 -05:00
Enver Balalic
d621fb8936 fix: crash when no icon found
Specific case when using vscode, the open file/folder dialog
doesn't succeed in looking up the icon on my system. This would
cause lookup to return None, thus the ret vector is empty.
Since we removed the id before the lookup, the append below would
append an empty vec. This would cause an error in AddTopLevel
message handler when trying to remove the first item of the
returned vec.

Move the id remove directly within the map, so it only gets
removed if we succeed in looking up the icon.
2023-02-06 08:39:11 -05:00
Ashley Wulber
b692cdcc05 chore: use latest libcosmic 2023-02-02 23:47:33 -05:00
Ashley Wulber
982b8f5fd1
update: use dyrend & use autosized window in app-list & fix button size in workspaces & only update popup text in time when creating popup 2023-01-20 11:25:53 -05:00
Ian Douglas Scott
72a75eabc7 Use cosmic::SingleThreadExecutor
This cuts down the number of threads per applet process. This is probably
no benefit to having multiple tokio worker threads for a typical applet.
2023-01-19 10:06:39 -05:00
Ian Douglas Scott
ba832143fc app-list: Fix clippy lints 2023-01-05 10:05:19 -08:00
Ashley Wulber
88b4a7d20b
update applets using latest libcosmic auto-sizing popups 2022-12-27 18:35:06 -05:00
13r0ck
a682b8deb0 Move Cosmic Applets into new Dir & remove old applets 2022-12-23 16:14:55 -05:00