[Gpa-commits] r1027 - trunk/src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Oct 8 15:56:50 CEST 2010


Author: werner
Date: 2010-10-08 15:56:50 +0200 (Fri, 08 Oct 2010)
New Revision: 1027

Modified:
   trunk/src/ChangeLog
   trunk/src/clipboard.c
Log:
Message rephrased


Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog	2010-10-08 06:55:52 UTC (rev 1026)
+++ trunk/src/ChangeLog	2010-10-08 13:56:50 UTC (rev 1027)
@@ -1,3 +1,7 @@
+2010-10-08  Werner Koch  <wk at g10code.com>
+
+	* clipboard.c (file_created_cb): Use gpa_window_message.
+
 2010-10-06  Werner Koch  <wk at g10code.com>
 
 	* clipboard.c (file_created_cb): Fallback to Latin-1.

Modified: trunk/src/clipboard.c
===================================================================
--- trunk/src/clipboard.c	2010-10-08 06:55:52 UTC (rev 1026)
+++ trunk/src/clipboard.c	2010-10-08 13:56:50 UTC (rev 1027)
@@ -272,11 +272,10 @@
       gchar *str;
       gsize *len;
 
-      str = g_strdup_printf ("Error in operation result:\n"
-			     "No valid UTF-8 at position %i.\n"
+      str = g_strdup_printf ("No valid UTF-8 encoding at position %i.\n"
                              "Assuming Latin-1 encoding instead.",
 			     ((int) (end - item->direct_out)));
-      gpa_window_error (str, GTK_WIDGET (clipboard));
+      gpa_window_message (str, GTK_WIDGET (clipboard));
       g_free (str);
 
       str = g_convert (item->direct_out, item->direct_out_len,



More information about the Gpa-commits mailing list