aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorZbigniew Chyla <cyba@gnome.pl>2001-08-25 02:22:42 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-08-25 02:22:42 +0800
commit921aa25a351f605e54d0d8085eea031fafc1cab2 (patch)
tree30b47bfb14745e0fcc924ca42fc5449e12ab835d /shell
parent0f6934dd35f08950542a91ae3ecbab0acd3e4988 (diff)
downloadgsoc2013-evolution-921aa25a351f605e54d0d8085eea031fafc1cab2.tar
gsoc2013-evolution-921aa25a351f605e54d0d8085eea031fafc1cab2.tar.gz
gsoc2013-evolution-921aa25a351f605e54d0d8085eea031fafc1cab2.tar.bz2
gsoc2013-evolution-921aa25a351f605e54d0d8085eea031fafc1cab2.tar.lz
gsoc2013-evolution-921aa25a351f605e54d0d8085eea031fafc1cab2.tar.xz
gsoc2013-evolution-921aa25a351f605e54d0d8085eea031fafc1cab2.tar.zst
gsoc2013-evolution-921aa25a351f605e54d0d8085eea031fafc1cab2.zip
Convert names of the default group and shortcuts to UTF-8.
2001-08-23 Zbigniew Chyla <cyba@gnome.pl> * e-shortcuts.c (e_shortcuts_add_default_group): Convert names of the default group and shortcuts to UTF-8. svn path=/trunk/; revision=12441
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shortcuts.c26
2 files changed, 25 insertions, 6 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 8fe8381ddc..cf0b997b76 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,10 @@
2001-08-23 Zbigniew Chyla <cyba@gnome.pl>
+ * e-shortcuts.c (e_shortcuts_add_default_group): Convert names of the
+ default group and shortcuts to UTF-8 (still no U_ :().
+
+2001-08-23 Zbigniew Chyla <cyba@gnome.pl>
+
* e-shortcuts-view.c (destroy_group_cb): Convert the name of the group
to GTK+ locale before displaying it in a dialog.
diff --git a/shell/e-shortcuts.c b/shell/e-shortcuts.c
index c6c94c461a..914601a46b 100644
--- a/shell/e-shortcuts.c
+++ b/shell/e-shortcuts.c
@@ -1034,18 +1034,32 @@ e_shortcuts_update_shortcut (EShortcuts *shortcuts,
void
e_shortcuts_add_default_group (EShortcuts *shortcuts)
{
+ char *utf;
+
g_return_if_fail (shortcuts != NULL);
g_return_if_fail (E_IS_SHORTCUTS (shortcuts));
- e_shortcuts_add_group (shortcuts, -1, _("Shortcuts"));
+ utf = e_utf8_from_locale_string (_("Shortcuts"));
+ e_shortcuts_add_group (shortcuts, -1, utf);
+ g_free (utf);
/* FIXME: Inbox shortcut should point to something else for
people who won't care about using /Local Folders/Inbox */
- e_shortcuts_add_shortcut (shortcuts, 0, -1, "evolution:/summary", _("Summary"), 0, "summary");
- e_shortcuts_add_shortcut (shortcuts, 0, -1, "evolution:/local/Inbox", _("Inbox"), 0, "mail");
- e_shortcuts_add_shortcut (shortcuts, 0, -1, "evolution:/local/Calendar", _("Calendar"), 0, "calendar");
- e_shortcuts_add_shortcut (shortcuts, 0, -1, "evolution:/local/Tasks", _("Tasks"), 0, "tasks");
- e_shortcuts_add_shortcut (shortcuts, 0, -1, "evolution:/local/Contacts", _("Contacts"), 0, "contacts");
+ utf = e_utf8_from_locale_string (_("Summary"));
+ e_shortcuts_add_shortcut (shortcuts, 0, -1, "evolution:/summary", utf, 0, "summary");
+ g_free (utf);
+ utf = e_utf8_from_locale_string (_("Inbox"));
+ e_shortcuts_add_shortcut (shortcuts, 0, -1, "evolution:/local/Inbox", utf, 0, "mail");
+ g_free (utf);
+ utf = e_utf8_from_locale_string (_("Calendar"));
+ e_shortcuts_add_shortcut (shortcuts, 0, -1, "evolution:/local/Calendar", utf, 0, "calendar");
+ g_free (utf);
+ utf = e_utf8_from_locale_string (_("Tasks"));
+ e_shortcuts_add_shortcut (shortcuts, 0, -1, "evolution:/local/Tasks", utf, 0, "tasks");
+ g_free (utf);
+ utf = e_utf8_from_locale_string (_("Contacts"));
+ e_shortcuts_add_shortcut (shortcuts, 0, -1, "evolution:/local/Contacts", utf, 0, "contacts");
+ g_free (utf);
}
void