[gthumb] automatically go to the destination when the task is completed



commit e87ff2f30cb6e745902a16eb9149f7cbafb28b44
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Dec 28 17:33:36 2010 +0100

    automatically go to the destination when the task is completed

 gthumb/gth-pixbuf-list-task.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-pixbuf-list-task.c b/gthumb/gth-pixbuf-list-task.c
index 20d9001..ae7721b 100644
--- a/gthumb/gth-pixbuf-list-task.c
+++ b/gthumb/gth-pixbuf-list-task.c
@@ -416,6 +416,8 @@ process_current_file (GthPixbufListTask *self)
 	GList       *source_singleton;
 
 	if (self->priv->current == NULL) {
+		if (self->priv->destination_folder != NULL)
+			gth_browser_go_to (self->priv->browser, self->priv->destination_folder, NULL);
 		gth_task_completed (GTH_TASK (self), NULL);
 		return;
 	}



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