kov changed libgksu/trunk/ChangeLog, libgksu/trunk/libgksu/libgksu.c

Gustavo Noronha kov at costa.debian.org
Tue Oct 24 01:48:44 UTC 2006


Mensagem de log: 
make sure the dialog is _destroyed_ instead of just being
hidden, after some action has been taken in the dialog that
asks for the password


-----


Modified: libgksu/trunk/ChangeLog
===================================================================
--- libgksu/trunk/ChangeLog	2006-10-22 21:59:47 UTC (rev 748)
+++ libgksu/trunk/ChangeLog	2006-10-24 01:48:44 UTC (rev 749)
@@ -1,3 +1,10 @@
+2006-10-23  Gustavo Noronha Silva  <kov at debian.org>
+
+	* libgksu/libgksu.c:
+	- make sure the dialog is _destroyed_ instead of just being
+	  hidden, after some action has been taken in the dialog that
+	  asks for the password
+
 2006-10-22  Gustavo Noronha Silva  <kov at debian.org>
 
 	* Release 2.0.2

Modified: libgksu/trunk/libgksu/libgksu.c
===================================================================
--- libgksu/trunk/libgksu/libgksu.c	2006-10-22 21:59:47 UTC (rev 748)
+++ libgksu/trunk/libgksu/libgksu.c	2006-10-24 01:48:44 UTC (rev 749)
@@ -904,6 +904,11 @@
 		       GKSU_ERROR_CANCELED,
 		       _("Password prompt canceled."));
 	}
+
+      gtk_widget_destroy (dialog);
+      while (gtk_events_pending ())
+	gtk_main_iteration ();
+
       return NULL;
     }
 
@@ -911,6 +916,10 @@
   password = g_locale_from_utf8 (tmp, strlen (tmp), NULL, NULL, NULL);
   g_free (tmp);
 
+  gtk_widget_destroy (dialog);
+  while (gtk_events_pending ())
+    gtk_main_iteration ();
+
   return password;
 }
 




More information about the gksu-commits mailing list