[recipes] Small additions to the about dialog



commit 0bc64f8c3a51b07791ead5b46b475833040012b5
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jan 1 10:32:00 2017 -0500

    Small additions to the about dialog
    
    Add a tooltip to the built-with-builder button, and mark
    the app name for translation.

 src/gr-app.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gr-app.c b/src/gr-app.c
index 3ea2d3b..06b850a 100644
--- a/src/gr-app.c
+++ b/src/gr-app.c
@@ -192,6 +192,7 @@ add_built_logo (GtkAboutDialog *about)
         gtk_box_pack_start (GTK_BOX (box), button, FALSE, TRUE, 0);
         gtk_widget_set_valign (button, GTK_ALIGN_END);
         gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
+        gtk_widget_set_tooltip_text (button, _("Learn more about Builder"));
         gtk_widget_show (button);
         image = gtk_image_new ();
         pixbuf = gdk_pixbuf_new_from_resource ("/org/gnome/Recipes/built-with-builder.png", NULL);
@@ -251,7 +252,7 @@ about_activated (GSimpleAction *action,
 
         win = gtk_application_get_active_window (GTK_APPLICATION (app));
         gtk_show_about_dialog (GTK_WINDOW (win),
-                               "program-name", "GNOME Recipes",
+                               "program-name", _("GNOME Recipes"),
 #if MICRO_VERSION % 2 == 1
                                "version", COMMIT_ID,
 #else


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]