diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-07 22:29:37 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:10 +0800 |
commit | 708ce51377b358304b19efd271c6b5005fea1866 (patch) | |
tree | 1e9b401899fd85f93ddb86e517bf79134e93b302 /plugins/templates/templates.c | |
parent | 23efd7246febed6ed907d0a97063e7061d338b65 (diff) | |
download | gsoc2013-evolution-708ce51377b358304b19efd271c6b5005fea1866.tar.gz gsoc2013-evolution-708ce51377b358304b19efd271c6b5005fea1866.tar.zst gsoc2013-evolution-708ce51377b358304b19efd271c6b5005fea1866.zip |
Adapt to CamelFolderInfo.name -> display_name.
Diffstat (limited to 'plugins/templates/templates.c')
-rw-r--r-- | plugins/templates/templates.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/templates/templates.c b/plugins/templates/templates.c index 9fded58413..aa43d4921b 100644 --- a/plugins/templates/templates.c +++ b/plugins/templates/templates.c @@ -862,12 +862,12 @@ build_template_menus_recurse (GtkUIManager *ui_manager, GPtrArray *uids; GtkAction *action; const gchar *action_label; - const gchar *folder_name; + const gchar *display_name; gchar *action_name; gchar *path; guint ii; - folder_name = folder_info->name; + display_name = folder_info->display_name; /* FIXME Not passing a GCancellable or GError here. */ folder = camel_store_get_folder_sync ( store, folder_info->full_name, 0, NULL, NULL); @@ -877,10 +877,10 @@ build_template_menus_recurse (GtkUIManager *ui_manager, *action_count = *action_count + 1; /* To avoid having a Templates dir, we ignore the top level */ - if (g_str_has_suffix (folder_name, "Templates")) + if (g_str_has_suffix (display_name, "Templates")) action_label = _("Templates"); else - action_label = folder_name; + action_label = display_name; action = gtk_action_new ( action_name, action_label, NULL, NULL); |