kov changed libgksu/trunk/ChangeLog, libgksu/trunk/libgksu/libgksu.c
Gustavo Noronha
kov at costa.debian.org
Mon Jul 3 23:49:22 UTC 2006
Mensagem de log:
- do not display error message when the error code tells us
that the dialog has been canceled by the user
-----
Modified: libgksu/trunk/ChangeLog
===================================================================
--- libgksu/trunk/ChangeLog 2006-07-03 23:43:56 UTC (rev 639)
+++ libgksu/trunk/ChangeLog 2006-07-03 23:49:19 UTC (rev 640)
@@ -1,3 +1,10 @@
+2006-07-03 Gustavo Noronha Silva <kov at debian.org>
+
+ * libgksu/libgksu.c:
+ - remove \n from the check of the command name, since gtop
+ does not give a \n-terminated string; thanks to
+ Benoît Dejean <benoit at placenet.org> for pointing this out
+
2006-06-29 Gustavo Noronha Silva <kov at debian.org>
* gksu-properties/*:
Modified: libgksu/trunk/libgksu/libgksu.c
===================================================================
--- libgksu/trunk/libgksu/libgksu.c 2006-07-03 23:43:56 UTC (rev 639)
+++ libgksu/trunk/libgksu/libgksu.c 2006-07-03 23:49:19 UTC (rev 640)
@@ -1943,7 +1943,7 @@
/* su already exec()ed something else, don't report
* exit status errors in that case
*/
- if (!g_str_has_suffix (cmdline, "su\n"))
+ if (!g_str_has_suffix (cmdline, "su"))
{
g_free (cmdline);
return FALSE;
@@ -2401,7 +2401,7 @@
/* sudo already exec()ed something else, don't report
* exit status errors in that case
*/
- if (!g_str_has_suffix (cmdline, "sudo\n"))
+ if (!g_str_has_suffix (cmdline, "sudo"))
{
g_free (cmdline);
return FALSE;
More information about the gksu-commits
mailing list