[gnome-software/gnome-3-18] Set the application kind if we've found a .desktop file in the local package
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-18] Set the application kind if we've found a .desktop file in the local package
- Date: Tue, 6 Oct 2015 11:24:04 +0000 (UTC)
commit 3139374e719d90ff5bba62731de6ff37c41633e7
Author: Richard Hughes <richard hughsie com>
Date: Tue Sep 29 14:45:31 2015 +0100
Set the application kind if we've found a .desktop file in the local package
src/plugins/gs-plugin-packagekit-refresh.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-packagekit-refresh.c b/src/plugins/gs-plugin-packagekit-refresh.c
index 369f13c..c824bb3 100644
--- a/src/plugins/gs-plugin-packagekit-refresh.c
+++ b/src/plugins/gs-plugin-packagekit-refresh.c
@@ -268,6 +268,8 @@ gs_plugin_packagekit_refresh_guess_app_id (GsPlugin *plugin,
g_autofree gchar *basename;
basename = g_path_get_basename (fns[j]);
gs_app_set_id (app, basename);
+ gs_app_set_kind (app, GS_APP_KIND_NORMAL);
+ gs_app_set_id_kind (app, AS_ID_KIND_DESKTOP);
break;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]