[gnome-photos/wip/rishi/edit-mode: 7/29] preview-view: Show the buttons when returning from edit mode



commit 0f7b1937e552ef2907183475a40b8d72a0da33d4
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu May 7 09:11:10 2015 +0200

    preview-view: Show the buttons when returning from edit mode
    
    Easiest way to do that is to show them every time we enter the preview.
    We will have one redundant call when entering the preview from one of
    the overviews because we call show when setting the model, but that is
    fine.

 src/photos-preview-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-preview-view.c b/src/photos-preview-view.c
index 6331cdc..27c51b1 100644
--- a/src/photos-preview-view.c
+++ b/src/photos-preview-view.c
@@ -174,6 +174,7 @@ photos_preview_view_window_mode_changed (PhotosPreviewView *self, PhotosWindowMo
       break;
 
     case PHOTOS_WINDOW_MODE_PREVIEW:
+      photos_preview_nav_buttons_show (priv->nav_buttons);
       break;
 
     case PHOTOS_WINDOW_MODE_NONE:


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