[poppler] glib/demo

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Sat Oct 5 01:02:05 PDT 2013


 glib/demo/annots.c |   10 +++++-----
 glib/demo/main.c   |    2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 3084f8f4a5ad55937094b14e30169dccf1fa4ec9
Author: Germán Poo-Caamaño <gpoo at gnome.org>
Date:   Sat Sep 21 11:59:32 2013 -0700

    glib-demo: Expand short names for annotations used in demo
    
    https://bugs.freedesktop.org/show_bug.cgi?id=69978

diff --git a/glib/demo/annots.c b/glib/demo/annots.c
index 247d576..39ff235 100644
--- a/glib/demo/annots.c
+++ b/glib/demo/annots.c
@@ -85,7 +85,7 @@ pgd_annot_view_new (void)
     frame = gtk_frame_new (NULL);
     gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_NONE);
     label = gtk_label_new (NULL);
-    gtk_label_set_markup (GTK_LABEL (label), "<b>Annot Properties</b>");
+    gtk_label_set_markup (GTK_LABEL (label), "<b>Annotation Properties</b>");
     gtk_frame_set_label_widget (GTK_FRAME (frame), label);
     gtk_widget_show (label);
 
@@ -599,12 +599,12 @@ pgd_annots_get_annots (PgdAnnotsDemo *demo)
     if (n_fields > 0) {
         gchar *str;
 
-        str = g_strdup_printf ("<i>%d annots found in %.4f seconds</i>",
+        str = g_strdup_printf ("<i>%d annotations found in %.4f seconds</i>",
                                n_fields, g_timer_elapsed (timer, NULL));
         gtk_label_set_markup (GTK_LABEL (demo->timer_label), str);
         g_free (str);
     } else {
-        gtk_label_set_markup (GTK_LABEL (demo->timer_label), "<i>No annots found</i>");
+        gtk_label_set_markup (GTK_LABEL (demo->timer_label), "<i>No annotations found</i>");
     }
 
     g_timer_destroy (timer);
@@ -967,7 +967,7 @@ pgd_annots_create_widget (PopplerDocument *document)
     gtk_widget_show (label);
     g_free (str);
 
-    button = gtk_button_new_with_label ("Add Annot");
+    button = gtk_button_new_with_label ("Add Annotation");
     g_signal_connect (G_OBJECT (button), "clicked",
 		      G_CALLBACK (pgd_annots_add_annot),
 		      (gpointer) demo);
@@ -978,7 +978,7 @@ pgd_annots_create_widget (PopplerDocument *document)
     gtk_widget_show (hbox);
 
     demo->timer_label = gtk_label_new (NULL);
-    gtk_label_set_markup (GTK_LABEL (demo->timer_label), "<i>No annots found</i>");
+    gtk_label_set_markup (GTK_LABEL (demo->timer_label), "<i>No annotations found</i>");
     g_object_set (G_OBJECT (demo->timer_label), "xalign", 1.0, NULL);
     gtk_box_pack_start (GTK_BOX (vbox), demo->timer_label, FALSE, TRUE, 0);
     gtk_widget_show (demo->timer_label);
diff --git a/glib/demo/main.c b/glib/demo/main.c
index 2523800..f4d0110 100644
--- a/glib/demo/main.c
+++ b/glib/demo/main.c
@@ -61,7 +61,7 @@ static const PopplerGlibDemo demo_list[] = {
 	{ "Forms",            pgd_forms_create_widget },
 	{ "Page Transitions", pgd_transitions_create_widget },
 	{ "Images",           pgd_images_create_widget },
-	{ "Annots",           pgd_annots_create_widget },
+	{ "Annotations",      pgd_annots_create_widget },
 	{ "Attachments",      pgd_attachments_create_widget },
 	{ "Layers",           pgd_layers_create_widget },
 	{ "Text",             pgd_text_create_widget },


More information about the poppler mailing list