[Gpa-commits] r717 - trunk/src
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Tue Nov 8 00:28:37 CET 2005
Author: marcus
Date: 2005-11-08 00:28:36 +0100 (Tue, 08 Nov 2005)
New Revision: 717
Modified:
trunk/src/ChangeLog
trunk/src/keysigndlg.c
Log:
2005-11-08 Marcus Brinkmann <marcus at g10code.de>
* keysigndlg.c (gpa_key_sign_run_dialog): Fix last change.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2005-11-07 22:00:09 UTC (rev 716)
+++ trunk/src/ChangeLog 2005-11-07 23:28:36 UTC (rev 717)
@@ -1,3 +1,7 @@
+2005-11-08 Marcus Brinkmann <marcus at g10code.de>
+
+ * keysigndlg.c (gpa_key_sign_run_dialog): Fix last change.
+
2005-11-07 Marcus Brinkmann <marcus at g10code.de>
* gpabackupop.c (export_browse): Pass ENTRY as parent to
Modified: trunk/src/keysigndlg.c
===================================================================
--- trunk/src/keysigndlg.c 2005-11-07 22:00:09 UTC (rev 716)
+++ trunk/src/keysigndlg.c 2005-11-07 23:28:36 UTC (rev 717)
@@ -87,19 +87,13 @@
/* Build this first, so that we can know how may user ID's there are */
uid_box = gtk_vbox_new (TRUE, 0);
- /* One user ID on each line. */
- string = gpa_gpgme_key_get_userid (key->uids);
- uid = key->uids->next;
+ uid = key->uids;
while (uid)
{
if (!uid->revoked)
{
- gchar *uid_string = gpa_gpgme_key_get_userid (uid);
- gchar *tmp = string;
- string = g_strconcat (string, "\n", uid_string, NULL);
- g_free (tmp);
- g_free (uid_string);
-
+ /* One user ID on each line. */
+ string = gpa_gpgme_key_get_userid (uid);
label = gtk_label_new (string);
g_free (string);
gtk_box_pack_start_defaults (GTK_BOX(uid_box), label);
More information about the Gpa-commits
mailing list