~ubuntu-branches/ubuntu/lucid/seahorse/lucid

« back to all changes in this revision

Viewing changes to pgp/seahorse-gpgme-uid.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-03-02 22:41:25 UTC
  • mfrom: (1.2.42 upstream)
  • Revision ID: james.westby@ubuntu.com-20090302224125-add03qz18yhugh5s
Tags: 2.25.92-0ubuntu1
* New upstream version:
  - Fix crash when typing in a custom key server URL.
  - Searching by key identifiers now shows results. (lp: #316551)
  - Don't crash when loading a PGP key that loads the secret 
    part before the public part.
  - Disable interactive tree search in key manager.
  - Fix issues with object IDs, crashes and other inconsistencies
    when accessed via DBus.
  - Add libcryptui documentation
  - Reference counting fixes.
  - Remove use of GTK+ deprecated symbols.
  - Use proper GTK+ stock item names.
  - Translation fixes.
  - Collapse 'Advanced Options' in PGP key generate dialog by default.
* debian/seahorse.install:
  - install the translations

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
}
69
69
 
70
70
static void
71
 
realize_id (SeahorseGpgmeUid *self)
72
 
{
73
 
        gchar *str = NULL;
74
 
        GQuark id = 0;
75
 
        
76
 
        if (self->pv->gpgme_index >= 0 || self->pv->pubkey != NULL) {
77
 
                /* Build up a new id for this UID */
78
 
                g_return_if_fail (self->pv->pubkey->subkeys && self->pv->pubkey->subkeys->keyid);
79
 
                str = seahorse_pgp_key_calc_id (self->pv->pubkey->subkeys->keyid, self->pv->gpgme_index + 1);
80
 
                id = g_quark_from_string (str);
81
 
                g_free (str);
82
 
        }
83
 
 
84
 
        g_object_set (self, "id", id, NULL);
85
 
}
86
 
 
87
 
static void
88
71
realize_signatures (SeahorseGpgmeUid *self)
89
72
{
90
73
        gpgme_key_sig_t gsig;
348
331
        seahorse_pgp_uid_set_comment (base, string);
349
332
        g_free (string);
350
333
        
351
 
        realize_id (self);
352
334
        realize_signatures (self);
353
335
 
354
336
        seahorse_pgp_uid_set_validity (base, seahorse_gpgme_convert_validity (userid->validity));