[gnome-photos] view-container: Show the PhotosLoadMoreButton in Favorites mode



commit 0e800eb43b4afac8db67d39528119a11f7793507
Author: Debarshi Ray <debarshir gnome org>
Date:   Sat Dec 22 02:23:48 2012 +0530

    view-container: Show the PhotosLoadMoreButton in Favorites mode

 src/photos-view-container.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/photos-view-container.c b/src/photos-view-container.c
index 0125d84..dd837e2 100644
--- a/src/photos-view-container.c
+++ b/src/photos-view-container.c
@@ -230,10 +230,10 @@ photos_view_container_window_mode_changed (PhotosModeController *mode_cntrlr,
 {
   PhotosViewContainer *self = PHOTOS_VIEW_CONTAINER (user_data);
 
-  if (mode == PHOTOS_WINDOW_MODE_OVERVIEW)
+  photos_view_container_disconnect_view (self);
+
+  if (mode == PHOTOS_WINDOW_MODE_FAVORITES || mode == PHOTOS_WINDOW_MODE_OVERVIEW)
     photos_view_container_connect_view (self);
-  else
-    photos_view_container_disconnect_view (self);
 }
 
 



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