]> git.sur5r.net Git - glabels/commitdiff
Changed field text from "FIELD{*}" to "${*}".
authorJim Evins <evins@snaught.com>
Sun, 8 Dec 2002 06:27:06 +0000 (06:27 +0000)
committerJim Evins <evins@snaught.com>
Sun, 8 Dec 2002 06:27:06 +0000 (06:27 +0000)
git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@204 f5e0f49d-192f-0410-a22d-a8d8700d0965

glabels2/src/wdgt-text-entry.c

index a7419dea6fb728ab87062e276eb523f3faffddb6..cb173b8ece869122fa49f1226823e7ec163d5501 100644 (file)
@@ -266,7 +266,8 @@ insert_cb (glWdgtTextEntry *text_entry)
        key =
            gtk_editable_get_chars (GTK_EDITABLE (text_entry->key_entry), 0,
                                    -1);
-       field = g_strdup_printf ("FIELD{%s}", key);
+       field = g_strdup_printf ("${%s}", key);
+       gl_debug (DEBUG_WDGT, "Inserting %s", field);
 
        buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (text_entry->text_entry));
        gtk_text_buffer_insert_at_cursor (buffer, field, -1);