[gthumb/ext] do not show the progress dialog when showing the trim dialog



commit 7944837c544bee1ed9c3097e3dcd20fb89791ee2
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Sep 24 23:43:41 2009 +0200

    do not show the progress dialog when showing the trim dialog

 extensions/image_rotation/gth-transform-task.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/extensions/image_rotation/gth-transform-task.c b/extensions/image_rotation/gth-transform-task.c
index 211c187..8eef2a8 100644
--- a/extensions/image_rotation/gth-transform-task.c
+++ b/extensions/image_rotation/gth-transform-task.c
@@ -70,6 +70,8 @@ trim_response_cb (JpegMcuAction action,
 {
 	GthTransformTask *self = user_data;
 
+	gth_task_dialog (GTH_TASK (self), FALSE);
+
 	if (action != JPEG_MCU_ACTION_ABORT) {
 		self->priv->default_action = action;
 		transform_current_file (self);
@@ -91,6 +93,8 @@ transform_file_ready_cb (GError   *error,
 
 			g_clear_error (&error);
 
+			gth_task_dialog (GTH_TASK (self), TRUE);
+
 			file_data = self->priv->current->data;
 			ask_whether_to_trim (GTK_WINDOW (self->priv->browser),
 					     file_data,



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