Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
pureos-store
Commits
1c4c2538
Commit
1c4c2538
authored
Sep 02, 2013
by
Richard Hughes
Browse files
Revert "appstream: mark applications as available when no better state is set"
This reverts commit
08ce4709
. It's just wrong.
parent
03802410
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/gs-plugin-appstream.c
View file @
1c4c2538
...
...
@@ -474,7 +474,7 @@ gs_plugin_initialize (GsPlugin *plugin)
gdouble
gs_plugin_get_priority
(
GsPlugin
*
plugin
)
{
return
2
.
0
f
;
return
1
.
0
f
;
}
/**
...
...
@@ -572,9 +572,6 @@ gs_plugin_refine_item (GsPlugin *plugin,
/* set package name */
if
(
item
->
pkgname
!=
NULL
&&
gs_app_get_metadata_item
(
app
,
"package-name"
)
==
NULL
)
gs_app_set_metadata
(
app
,
"package-name"
,
item
->
pkgname
);
if
(
gs_app_get_state
(
app
)
==
GS_APP_STATE_UNKNOWN
)
gs_app_set_state
(
app
,
GS_APP_STATE_AVAILABLE
);
out:
g_free
(
icon_path
);
if
(
pixbuf
!=
NULL
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment