From 177f1081b3b52753bec2fbb560f40e1c9faaae52 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 13 Mar 2019 11:56:39 +0100 Subject: Ensure proper translation of the about dialog title Note that GTK+ sets a default title of _("About %s") on the dialog window (where %s is replaced by the name of the application, but in order to ensure proper translation of the title, applications should set the title property explicitly when constructing a GtkAboutDialog https://developer.gnome.org/gtk3/stable/GtkAboutDialog.html --- timerapplet/timerapplet.c | 1 + 1 file changed, 1 insertion(+) (limited to 'timerapplet/timerapplet.c') diff --git a/timerapplet/timerapplet.c b/timerapplet/timerapplet.c index 24c7af12..4de54431 100644 --- a/timerapplet/timerapplet.c +++ b/timerapplet/timerapplet.c @@ -273,6 +273,7 @@ timer_about_callback (GtkAction *action, TimerApplet *applet) "Copyright \xc2\xa9 2014 Stefano Karapetsas"; gtk_show_about_dialog(NULL, + "title", _("About Timer Applet"), "version", VERSION, "copyright", copyright, "authors", authors, -- cgit v1.2.1