[gthumb] give the focus to the viewer after changing the image



commit 55a571bfc59437400938c5193be3b0da2cbfb24d
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Wed Jul 6 20:48:21 2011 +0200

    give the focus to the viewer after changing the image
    
    [bug #595575]

 extensions/image_viewer/gth-image-viewer-page.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/extensions/image_viewer/gth-image-viewer-page.c b/extensions/image_viewer/gth-image-viewer-page.c
index 4f23d04..2de4abe 100644
--- a/extensions/image_viewer/gth-image-viewer-page.c
+++ b/extensions/image_viewer/gth-image-viewer-page.c
@@ -1503,6 +1503,8 @@ gth_image_viewer_page_set_image (GthImageViewerPage *self,
 		gth_image_history_add_image (self->priv->history, image, TRUE);
 	_gth_image_viewer_page_set_image (self, image, TRUE);
 	self->priv->image_changed = TRUE;
+	if (add_to_history)
+		gth_viewer_page_focus (GTH_VIEWER_PAGE (self));
 }
 
 



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