diff options
author | Jason Leach <jleach@ximian.com> | 2001-07-07 05:44:35 +0800 |
---|---|---|
committer | Jacob Leach <jleach@src.gnome.org> | 2001-07-07 05:44:35 +0800 |
commit | 489fe60f9ec5a53adff420f3e468f25fcd6c523d (patch) | |
tree | 28f82eb330f46abaf25018a2acba780fc6d538d5 /shell/e-setup.c | |
parent | a8fbf376d83f1e75750b1b938bd0256deabcded5 (diff) | |
download | gsoc2013-evolution-489fe60f9ec5a53adff420f3e468f25fcd6c523d.tar gsoc2013-evolution-489fe60f9ec5a53adff420f3e468f25fcd6c523d.tar.gz gsoc2013-evolution-489fe60f9ec5a53adff420f3e468f25fcd6c523d.tar.bz2 gsoc2013-evolution-489fe60f9ec5a53adff420f3e468f25fcd6c523d.tar.lz gsoc2013-evolution-489fe60f9ec5a53adff420f3e468f25fcd6c523d.tar.xz gsoc2013-evolution-489fe60f9ec5a53adff420f3e468f25fcd6c523d.tar.zst gsoc2013-evolution-489fe60f9ec5a53adff420f3e468f25fcd6c523d.zip |
[Misc fixes and part of #2228, There should be no dialog boxes during
2001-07-06 Jason Leach <jleach@ximian.com>
[Misc fixes and part of #2228, There should be no dialog boxes
during startup.]
* e-setup.c (e_setup): Check for searches.xml instead of
shortcuts.xml, since shortcuts.xml doesn't really need to exist
(and thus wouldn't be a necessary test whether ~/evolution was
invalid) because shell can generate shortcuts.
(copy_default_stuff): For first time users, only present a dialog
if a problem occurred. We've already clicked "Ok" on a dialog
about copying files.
(check_evolution_directory): Take out the "successfully installed"
dialog on updates too.
svn path=/trunk/; revision=10864
Diffstat (limited to 'shell/e-setup.c')
-rw-r--r-- | shell/e-setup.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/shell/e-setup.c b/shell/e-setup.c index f70b7b00ff..6f8d565056 100644 --- a/shell/e-setup.c +++ b/shell/e-setup.c @@ -168,9 +168,6 @@ check_evolution_directory (const char *evolution_directory) if (retval == FALSE) e_notice (NULL, GNOME_MESSAGE_BOX_ERROR, _("Could not update files correctly")); - else - e_notice (NULL, GNOME_MESSAGE_BOX_INFO, - _("Evolution files successfully installed.")); out: @@ -234,11 +231,9 @@ copy_default_stuff (const char *evolution_directory) if (system (command) != 0) { /* FIXME: Give more help. */ e_notice (NULL, GNOME_MESSAGE_BOX_ERROR, - _("Cannot copy files into\n`%s'."), evolution_directory); + _("An error occurred in copying files into\n`%s'."), evolution_directory); retval = FALSE; } else { - e_notice (NULL, GNOME_MESSAGE_BOX_INFO, - _("Evolution files successfully installed.")); retval = TRUE; } @@ -337,7 +332,7 @@ e_setup (const char *evolution_directory) g_free (file); - file = g_strdup_printf ("%s/shortcuts.xml", evolution_directory); + file = g_strdup_printf ("%s/searches.xml", evolution_directory); if (stat (file, &statinfo) != 0) { e_notice (NULL, GNOME_MESSAGE_BOX_ERROR, _("The directory `%s' exists but is not the\n" |