diff options
author | Dan Winship <danw@src.gnome.org> | 2002-04-09 23:54:24 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-04-09 23:54:24 +0800 |
commit | a1720426f1682646f5c355f044d7fa20883d6fb5 (patch) | |
tree | cd322a7f5f0a3073223b2049fd7c329ef7498a66 /shell/e-shortcuts.c | |
parent | c10d63c7c2449982993a9579a9f0b951632b9401 (diff) | |
download | gsoc2013-evolution-a1720426f1682646f5c355f044d7fa20883d6fb5.tar.gz gsoc2013-evolution-a1720426f1682646f5c355f044d7fa20883d6fb5.tar.zst gsoc2013-evolution-a1720426f1682646f5c355f044d7fa20883d6fb5.zip |
New. Check that things that need to be in the config db are. Right now it
* e-setup.c (e_setup_check_db): New. Check that things that need
to be in the config db are. Right now it sets up the default
folders.
* e-shell.c (e_shell_construct): Call e_setup_check_db after
getting the config db.
* e-shell-constants.h: Add E_SUMMARY_URI, E_LOCAL_INBOX_URI, etc.
* e-shortcuts.c (e_shortcuts_add_default_group): Use
E_LOCAL_INBOX_URI, etc.
* e-shell-view.c: #define FALLBACK_URI to E_SUMMARY_URI
svn path=/trunk/; revision=16405
Diffstat (limited to 'shell/e-shortcuts.c')
-rw-r--r-- | shell/e-shortcuts.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/shell/e-shortcuts.c b/shell/e-shortcuts.c index b231bc4df2..fffedfbaf3 100644 --- a/shell/e-shortcuts.c +++ b/shell/e-shortcuts.c @@ -1028,19 +1028,19 @@ e_shortcuts_add_default_group (EShortcuts *shortcuts) /* FIXME: Inbox shortcut should point to something else for people who won't care about using /Local Folders/Inbox */ utf = e_utf8_from_locale_string (_("Summary")); - e_shortcuts_add_shortcut (shortcuts, 0, -1, "evolution:/summary", utf, 0, "summary"); + e_shortcuts_add_shortcut (shortcuts, 0, -1, E_SUMMARY_URI, 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"); + e_shortcuts_add_shortcut (shortcuts, 0, -1, E_LOCAL_INBOX_URI, 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"); + e_shortcuts_add_shortcut (shortcuts, 0, -1, E_LOCAL_CALENDAR_URI, 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"); + e_shortcuts_add_shortcut (shortcuts, 0, -1, E_LOCAL_TASKS_URI, 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"); + e_shortcuts_add_shortcut (shortcuts, 0, -1, E_LOCAL_CONTACTS_URI, utf, 0, "contacts"); g_free (utf); } |