From 02b0ff5a7bbb139c54b55977cb8e0c1dd2e63887 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 22 Dec 2004 07:02:55 +0000 Subject: Fixes #61076 2004-12-22 JP Rosevear Fixes #61076 * gui/comp-editor-factory.c (open_client): don't translate command line warnings * gui/calendar-offline-handler.c (backend_go_online): ditto (backend_go_offline): ditto svn path=/trunk/; revision=28173 --- calendar/ChangeLog | 10 ++++++++++ calendar/gui/calendar-offline-handler.c | 4 ++-- calendar/gui/comp-editor-factory.c | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 88fc98ea19..be2df7d5c8 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,13 @@ +2004-12-22 JP Rosevear + + Fixes #61076 + + * gui/comp-editor-factory.c (open_client): don't translate command + line warnings + + * gui/calendar-offline-handler.c (backend_go_online): ditto + (backend_go_offline): ditto + 2004-12-21 JP Rosevear Fixes #41624 diff --git a/calendar/gui/calendar-offline-handler.c b/calendar/gui/calendar-offline-handler.c index 0e6ba290cf..510aad46fb 100644 --- a/calendar/gui/calendar-offline-handler.c +++ b/calendar/gui/calendar-offline-handler.c @@ -188,7 +188,7 @@ backend_go_offline (gpointer data, gpointer user_data) g_signal_connect (client, "cal_opened", G_CALLBACK (backend_cal_opened_offline), offline_handler); success = e_cal_open (client, TRUE, &error); if (!success) { - g_warning (_("backend_go_offline(): %s"), error->message); + g_warning (G_STRLOC ": %s", error->message); update_offline (offline_handler); g_object_unref (client); g_error_free (error); @@ -211,7 +211,7 @@ backend_go_online (gpointer data, gpointer user_data) G_CALLBACK (backend_cal_opened_online), offline_handler); success = e_cal_open (client, TRUE, &error); if (!success) { - g_warning (_("backend_go_online(): %s"), error->message); + g_warning (G_STRLOC ": %s", error->message); g_object_unref (client); g_error_free (error); return; diff --git a/calendar/gui/comp-editor-factory.c b/calendar/gui/comp-editor-factory.c index 56a75d557d..92f15812c4 100644 --- a/calendar/gui/comp-editor-factory.c +++ b/calendar/gui/comp-editor-factory.c @@ -478,7 +478,7 @@ open_client (CompEditorFactory *factory, ECalSourceType source_type, const char g_hash_table_insert (priv->uri_client_hash, oc->uri, oc); if (!e_cal_open (oc->client, FALSE, &error)) { - g_warning (_("open_client(): %s"), error->message); + g_warning (G_STRLOC ": %s", error->message); g_free (oc->uri); g_object_unref (oc->client); g_free (oc); -- cgit v1.2.3