[gthumb] hide the export dialog when starting a new authorization process



commit e1219fbd0c5b19cbde507586c1ce0ec166e7df83
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Wed May 19 00:57:13 2010 +0200

    hide the export dialog when starting a new authorization process

 extensions/oauth/oauth-authentication.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/extensions/oauth/oauth-authentication.c b/extensions/oauth/oauth-authentication.c
index 7e1ab99..5d2fb90 100644
--- a/extensions/oauth/oauth-authentication.c
+++ b/extensions/oauth/oauth-authentication.c
@@ -555,6 +555,9 @@ get_request_token_ready_cb (GObject      *source_object,
 static void
 start_authorization_process (OAuthAuthentication *self)
 {
+	gtk_widget_hide (self->priv->dialog);
+	gth_task_dialog (GTH_TASK (self->priv->conn), FALSE);
+
 	oauth_connection_get_request_token (self->priv->conn,
 					    self->priv->cancellable,
 					    get_request_token_ready_cb,



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