diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-08-07 05:48:45 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-08-07 08:00:49 +0800 |
commit | 052e89dd423b5ba2f394f55c2fcc48102e7b9bc3 (patch) | |
tree | 1e619c123276e604996423df38a2bffafd28b633 /widgets/misc/e-signature-tree-view.c | |
parent | 6a2b0904893199ceb5b291405721845fd17a08db (diff) | |
download | gsoc2013-evolution-052e89dd423b5ba2f394f55c2fcc48102e7b9bc3.tar.gz gsoc2013-evolution-052e89dd423b5ba2f394f55c2fcc48102e7b9bc3.tar.zst gsoc2013-evolution-052e89dd423b5ba2f394f55c2fcc48102e7b9bc3.zip |
Seal up ESignature and add GObject properties.
Diffstat (limited to 'widgets/misc/e-signature-tree-view.c')
-rw-r--r-- | widgets/misc/e-signature-tree-view.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/widgets/misc/e-signature-tree-view.c b/widgets/misc/e-signature-tree-view.c index b2cc9d6f66..5c931c8d93 100644 --- a/widgets/misc/e-signature-tree-view.c +++ b/widgets/misc/e-signature-tree-view.c @@ -89,17 +89,20 @@ signature_tree_view_refresh_cb (ESignatureList *signature_list, for (iter = list; iter != NULL; iter = iter->next) { GtkTreeRowReference *reference; GtkTreePath *path; + const gchar *name; signature = iter->data; /* Skip autogenerated signatures. */ - if (signature->autogen) + if (e_signature_get_autogenerated (signature)) continue; + name = e_signature_get_name (signature); + gtk_list_store_append (store, &tree_iter); gtk_list_store_set ( store, &tree_iter, - COLUMN_STRING, signature->name, + COLUMN_STRING, name, COLUMN_SIGNATURE, signature, -1); path = gtk_tree_model_get_path (model, &tree_iter); |