diff options
author | Jon Trowbridge <trow@ximian.com> | 2001-10-28 14:25:57 +0800 |
---|---|---|
committer | Jon Trowbridge <trow@src.gnome.org> | 2001-10-28 14:25:57 +0800 |
commit | 7e0af5edb22627d39cd339eaec3f91a98d7681d4 (patch) | |
tree | 0ebd6cea8a864dac159c373e4a390cf90f8a55df /addressbook/gui | |
parent | 3a3fa91ac32ebbee54e7f335379564e587513dcb (diff) | |
download | gsoc2013-evolution-7e0af5edb22627d39cd339eaec3f91a98d7681d4.tar.gz gsoc2013-evolution-7e0af5edb22627d39cd339eaec3f91a98d7681d4.tar.zst gsoc2013-evolution-7e0af5edb22627d39cd339eaec3f91a98d7681d4.zip |
Change "this should never happen" dialog to not give my name/e-mail. Sorry
2001-10-28 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_hookup_shell_listeners): Change "this should never
happen" dialog to not give my name/e-mail. Sorry translators.
But this really should never happen, thanks to my fix below.
* gui/component/addressbook-component.c: Initialize
global_shell_client to NULL. (Bug #6625)
svn path=/trunk/; revision=14282
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/component/addressbook-component.c | 2 | ||||
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names.c | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c index 75c9a227a6..c1585f0c17 100644 --- a/addressbook/gui/component/addressbook-component.c +++ b/addressbook/gui/component/addressbook-component.c @@ -54,7 +54,7 @@ #define GNOME_EVOLUTION_ADDRESSBOOK_COMPONENT_ID "OAFIID:GNOME_Evolution_Addressbook_ShellComponent" -EvolutionShellClient *global_shell_client; +EvolutionShellClient *global_shell_client = NULL; EvolutionShellClient * addressbook_component_get_shell_client (void) diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c index a3245447b2..cb04e973a6 100644 --- a/addressbook/gui/component/select-names/e-select-names.c +++ b/addressbook/gui/component/select-names/e-select-names.c @@ -520,12 +520,19 @@ e_select_names_hookup_shell_listeners (ESelectNames *e_select_names) if (storage == CORBA_OBJECT_NIL) { GtkWidget *oh_shit; +#if 0 oh_shit = gnome_error_dialog (_("Evolution is unable to get the addressbook local storage.\n" "This may have been caused by the evolution-addressbook component crashing.\n" "To help us better understand and ultimately resolve this problem,\n" "please send an e-mail to Jon Trowbridge <trow@ximian.com> with a\n" "detailed description of the circumstances under which this error\n" "occurred. Thank you.")); +#endif + + oh_shit = gnome_error_dialog (_("Evolution is unable to get the addressbook local storage.\n" + "Under normal circumstances, this should never happen.\n" + "You may need to exit and restart Evolution in order to\n" + "correct this problem.")); gtk_widget_show (oh_shit); return; } |