[gnome-software] trivial: Never show two main screenshots in the UI



commit ed892694433b95a628ee375397184a886dd9fe20
Author: Richard Hughes <richard hughsie com>
Date:   Sat Feb 8 13:27:40 2014 +0100

    trivial: Never show two main screenshots in the UI

 src/gs-shell-details.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 220889a..66a530b 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -382,6 +382,8 @@ gs_shell_details_refresh_screenshots (GsShellDetails *shell_details)
                                      provided.width, provided.height);
 
        gs_screenshot_image_load_async (GS_SCREENSHOT_IMAGE (ssimg), NULL);
+       widget = GTK_WIDGET (gtk_builder_get_object (priv->builder,
+                                                    "box_details_screenshot_main"));
        gtk_box_pack_start (GTK_BOX (widget), ssimg, FALSE, FALSE, 0);
        gtk_widget_set_visible (ssimg, TRUE);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]