gtranslator r3684 - in trunk: . plugins/source-code-view
- From: icq svn gnome org
- To: svn-commits-list gnome org
- Subject: gtranslator r3684 - in trunk: . plugins/source-code-view
- Date: Mon, 22 Sep 2008 09:42:49 +0000 (UTC)
Author: icq
Date: Mon Sep 22 09:42:49 2008
New Revision: 3684
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3684&view=rev
Log:
2008-08-11 Ignacio Casal Quinteiro <nacho resa gmail com>
* plugins/source-code-view/source-code-view-plugin.c
(insert_link):
Added line visualizacion.
Modified:
trunk/ChangeLog
trunk/plugins/source-code-view/source-code-view-plugin.c
Modified: trunk/plugins/source-code-view/source-code-view-plugin.c
==============================================================================
--- trunk/plugins/source-code-view/source-code-view-plugin.c (original)
+++ trunk/plugins/source-code-view/source-code-view-plugin.c Mon Sep 22 09:42:49 2008
@@ -82,7 +82,7 @@
g_object_set_data (G_OBJECT (tag), "path", g_strdup (path));
g_object_set_data (G_OBJECT (tag), "line", line);
- text = g_strconcat (path, "\n", NULL);
+ text = g_strdup_printf ("%s:%d\n", path, GPOINTER_TO_INT (line));
gtk_text_buffer_insert_with_tags (buffer, iter, text, -1, tag, NULL);
g_free (text);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]