[gnome-photos/wip/rishi/collection: 10/10] view-container: Show primary-text



commit 648289dfbe3e538f5b7346738233d7518709c605
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Aug 1 15:07:47 2017 +0200

    view-container: Show primary-text

 src/photos-view-container.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-view-container.c b/src/photos-view-container.c
index fc8c121..71d402c 100644
--- a/src/photos-view-container.c
+++ b/src/photos-view-container.c
@@ -297,6 +297,8 @@ photos_view_container_constructed (GObject *object)
   gtk_container_add (GTK_CONTAINER (grid), self->sw);
 
   self->view = gd_main_box_new (GD_MAIN_BOX_ICON);
+  if (self->mode == PHOTOS_WINDOW_MODE_COLLECTIONS || self->mode == PHOTOS_WINDOW_MODE_SEARCH)
+    gd_main_box_set_show_primary_text (GD_MAIN_BOX (self->view), TRUE);
   gtk_container_add (GTK_CONTAINER (self->sw), self->view);
 
   gtk_widget_show_all (GTK_WIDGET (self));


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