diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-07 22:29:37 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-05-07 22:29:37 +0800 |
commit | 4660d0fcad7ca0e6ad74241d3133a37b82e4e9de (patch) | |
tree | 0fc47bc6fd25f8f9f220b3cfb32b7d19713fefd4 /plugins | |
parent | 2b1b637832f0fb86e1cb1026b82ded43088c35df (diff) | |
download | gsoc2013-evolution-4660d0fcad7ca0e6ad74241d3133a37b82e4e9de.tar gsoc2013-evolution-4660d0fcad7ca0e6ad74241d3133a37b82e4e9de.tar.gz gsoc2013-evolution-4660d0fcad7ca0e6ad74241d3133a37b82e4e9de.tar.bz2 gsoc2013-evolution-4660d0fcad7ca0e6ad74241d3133a37b82e4e9de.tar.lz gsoc2013-evolution-4660d0fcad7ca0e6ad74241d3133a37b82e4e9de.tar.xz gsoc2013-evolution-4660d0fcad7ca0e6ad74241d3133a37b82e4e9de.tar.zst gsoc2013-evolution-4660d0fcad7ca0e6ad74241d3133a37b82e4e9de.zip |
Adapt to CamelFolderInfo.name -> display_name.
Diffstat (limited to 'plugins')
-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); |