[gnome-software/gnome-3-14] Fix screenshot loading with --details
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-14] Fix screenshot loading with --details
- Date: Fri, 24 Oct 2014 12:53:32 +0000 (UTC)
commit dfa0060d531ebdb739424ea131386baf189953fa
Author: Kalev Lember <kalevlember gmail com>
Date: Tue Oct 21 13:59:03 2014 +0200
Fix screenshot loading with --details
Make sure to refine the app that's passed in to the details panel before
attempting to load the screenshots.
src/gs-shell-details.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 23bf3bd..92c942b 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -880,6 +880,7 @@ gs_shell_details_app_refine_cb (GObject *source,
g_debug ("%s", app_dump);
g_free (app_dump);
+ gs_shell_details_refresh_screenshots (shell_details);
gs_shell_details_refresh_addons (shell_details);
gs_shell_details_refresh_all (shell_details);
gs_shell_details_set_state (shell_details, GS_SHELL_DETAILS_STATE_READY);
@@ -1011,9 +1012,6 @@ gs_shell_details_set_app (GsShellDetails *shell_details, GsApp *app)
shell_details, 0);
gs_shell_details_load (shell_details);
- /* set screenshots */
- gs_shell_details_refresh_screenshots (shell_details);
-
/* change widgets */
gs_shell_details_refresh_all (shell_details);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]