aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-setup.c
diff options
context:
space:
mode:
authorJason Leach <jleach@ximian.com>2001-07-11 10:24:43 +0800
committerJacob Leach <jleach@src.gnome.org>2001-07-11 10:24:43 +0800
commite10ca4852bc7950db62ca8662b5961fc3a746438 (patch)
treef0c0ac6c0714b3be8c75086b26badc770648d0ac /shell/e-setup.c
parentd229ed59ca848dbf8f308c037ef999c611529e1f (diff)
downloadgsoc2013-evolution-e10ca4852bc7950db62ca8662b5961fc3a746438.tar.gz
gsoc2013-evolution-e10ca4852bc7950db62ca8662b5961fc3a746438.tar.zst
gsoc2013-evolution-e10ca4852bc7950db62ca8662b5961fc3a746438.zip
Add a temporary block of code to not use the
2001-07-10 Jason Leach <jleach@ximian.com> * e-setup.c (copy_default_stuff): Add a temporary block of code to not use the $GNOME/share/evolution/default_user/shortcuts.xml for users who might be upgrading, so they'll get the shell-generated default set of shortcuts. See notes on #4394. svn path=/trunk/; revision=10981
Diffstat (limited to 'shell/e-setup.c')
-rw-r--r--shell/e-setup.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/shell/e-setup.c b/shell/e-setup.c
index 6f8d565056..a25f7d5187 100644
--- a/shell/e-setup.c
+++ b/shell/e-setup.c
@@ -191,6 +191,7 @@ copy_default_stuff (const char *evolution_directory)
gboolean retval;
char *command;
int result;
+ char *old_default_shortcuts_file;
dialog = gnome_dialog_new (_("Evolution installation"),
GNOME_STOCK_BUTTON_OK, GNOME_STOCK_BUTTON_CANCEL,
@@ -237,6 +238,14 @@ copy_default_stuff (const char *evolution_directory)
retval = TRUE;
}
+ /* Temporary block of code to keep it from using the older
+ shortcuts.xml that exists for current users in
+ $GNOME/share/evolution/default_user. Remove this by 1.0 */
+ old_default_shortcuts_file = g_concat_dir_and_file (evolution_directory,
+ "shortcuts.xml");
+ unlink (old_default_shortcuts_file);
+ g_free (old_default_shortcuts_file);
+
g_free (command);
return retval;