[gnome-software] trivial: Add a 'scrthumb' style class to thumbnails



commit f1c3587347a5a1d174eb2a68945bde93b770bfc6
Author: Richard Hughes <richard hughsie com>
Date:   Tue Nov 12 11:12:31 2013 +0000

    trivial: Add a 'scrthumb' style class to thumbnails

 src/gs-shell-details.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 15cfdbb..2e809b1 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -357,6 +357,7 @@ gs_shell_details_refresh_screenshots (GsShellDetails *shell_details)
                                              GS_SCREENSHOT_SIZE_THUMBNAIL_HEIGHT);
                gs_screenshot_image_load_async (GS_SCREENSHOT_IMAGE (ssimg), NULL);
                gtk_list_box_insert (GTK_LIST_BOX (list), ssimg, -1);
+               gtk_style_context_add_class (gtk_widget_get_style_context (list), "scrthumb");
                gtk_widget_set_visible (ssimg, TRUE);
        }
 


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