Skip to content

Commit 9932d35

Browse files
committed
revert add of categories e nodisplay from MimeApp
1 parent a249ae3 commit 9932d35

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/mime_app.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,6 @@ pub struct MimeApp {
174174
pub exec: Option<String>,
175175
pub icon: widget::icon::Handle,
176176
pub is_default: bool,
177-
178-
// NEW: needed to understand if an app is a good candidate to open archive files
179-
pub categories: Vec<String>,
180-
pub no_display: bool,
181177
}
182178

183179
impl MimeApp {
@@ -209,8 +205,6 @@ impl From<&desktop::DesktopEntryData> for MimeApp {
209205
desktop::fde::IconSource::Path(path) => widget::icon::from_path(path.clone()),
210206
},
211207
is_default: false,
212-
categories: app.categories.clone(),
213-
no_display: app.terminal,
214208
}
215209
}
216210
}

0 commit comments

Comments
 (0)