[gnome-software: 4/29] gs-extras-page: Use a more specific GsShell call to change mode
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 4/29] gs-extras-page: Use a more specific GsShell call to change mode
- Date: Wed, 31 Mar 2021 16:03:45 +0000 (UTC)
commit 48b7a895a33498d276a0542dd6d5f1cb7087d6c6
Author: Philip Withnall <pwithnall endlessos org>
Date: Wed Jan 20 23:15:52 2021 +0000
gs-extras-page: Use a more specific GsShell call to change mode
This cleans up the code a little, but is equivalent.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
src/gs-extras-page.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-extras-page.c b/src/gs-extras-page.c
index c78a89491..6f7df2045 100644
--- a/src/gs-extras-page.c
+++ b/src/gs-extras-page.c
@@ -546,7 +546,7 @@ show_search_results (GsExtrasPage *self)
g_debug ("extras: found one result, showing in details view");
g_assert (list != NULL);
app = gs_app_row_get_app (GS_APP_ROW (list->data));
- gs_shell_change_mode (self->shell, GS_SHELL_MODE_DETAILS, app, TRUE);
+ gs_shell_show_app (self->shell, app);
if (gs_app_is_installed (app))
gs_extras_page_maybe_emit_installed_resources_done (self);
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]