kov changed gksu/trunk/ChangeLog, gksu/trunk/gksu/gksu.c
Gustavo Noronha
kov at costa.debian.org
Mon Jul 3 23:43:57 UTC 2006
Mensagem de log:
do not show message when dialog is canceled
-----
Modified: gksu/trunk/ChangeLog
===================================================================
--- gksu/trunk/ChangeLog 2006-07-03 23:32:25 UTC (rev 638)
+++ gksu/trunk/ChangeLog 2006-07-03 23:43:56 UTC (rev 639)
@@ -1,6 +1,10 @@
2006-07-03 Gustavo Noronha Silva <kov at debian.org>
* gksu/gksu.c:
+ - do not display error message when the error code tells us
+ that the dialog has been canceled by the user
+
+ * gksu/gksu.c:
- retry password prompt 3 times; still need a better way to
handle showing a message to the user
Modified: gksu/trunk/gksu/gksu.c
===================================================================
--- gksu/trunk/gksu/gksu.c 2006-07-03 23:32:25 UTC (rev 638)
+++ gksu/trunk/gksu/gksu.c 2006-07-03 23:43:56 UTC (rev 639)
@@ -504,7 +504,7 @@
sn_launcher_context_complete(context->sn_context);
- if (error)
+ if (error && (error->code != GKSU_ERROR_CANCELED))
{
gk_dialog (GTK_MESSAGE_ERROR,
_("<b>Failed to run %s as user %s.</b>\n\n%s"),
More information about the gksu-commits
mailing list