aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2004-12-22 15:02:55 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-12-22 15:02:55 +0800
commit02b0ff5a7bbb139c54b55977cb8e0c1dd2e63887 (patch)
treef591069ec82e0fc904d9056ce18105f42beaedfb
parent7534b21e4623b5738567661b5e1e6a25895f7918 (diff)
downloadgsoc2013-evolution-02b0ff5a7bbb139c54b55977cb8e0c1dd2e63887.tar.gz
gsoc2013-evolution-02b0ff5a7bbb139c54b55977cb8e0c1dd2e63887.tar.zst
gsoc2013-evolution-02b0ff5a7bbb139c54b55977cb8e0c1dd2e63887.zip
Fixes #61076
2004-12-22 JP Rosevear <jpr@novell.com> 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
-rw-r--r--calendar/ChangeLog10
-rw-r--r--calendar/gui/calendar-offline-handler.c4
-rw-r--r--calendar/gui/comp-editor-factory.c2
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 <jpr@novell.com>
+
+ 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 <jpr@novell.com>
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);