fix: update freedesktop-desktop-entry and fix app-list icons
This commit is contained in:
parent
c60a100135
commit
68fd2a6c17
5 changed files with 229 additions and 208 deletions
|
|
@ -40,7 +40,7 @@ impl AppListConfig {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn remove_pinned(&mut self, id: String, config: &Config) {
|
||||
pub fn remove_pinned(&mut self, id: &str, config: &Config) {
|
||||
if let Some(pos) = self.favorites.iter().position(|e| e == &id) {
|
||||
self.favorites.remove(pos);
|
||||
let _ = self.write_entry(config);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue