diff options
author | rbuj <[email protected]> | 2019-03-13 11:56:39 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-03-20 15:55:32 +0100 |
commit | 177f1081b3b52753bec2fbb560f40e1c9faaae52 (patch) | |
tree | 29a78a7bc801177149e1b4465fcf0f9fe9b06b5a /accessx-status | |
parent | c2db44280ef7aebdca6c62a6f39f0bbe2c1200da (diff) | |
download | mate-applets-177f1081b3b52753bec2fbb560f40e1c9faaae52.tar.bz2 mate-applets-177f1081b3b52753bec2fbb560f40e1c9faaae52.tar.xz |
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
Diffstat (limited to 'accessx-status')
-rw-r--r-- | accessx-status/applet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accessx-status/applet.c b/accessx-status/applet.c index 652a99ca..e131e1bb 100644 --- a/accessx-status/applet.c +++ b/accessx-status/applet.c @@ -92,6 +92,7 @@ static void about_cb(GtkAction* action, AccessxStatusApplet* sapplet) "Copyright \xc2\xa9 2003 Sun Microsystems"; gtk_show_about_dialog(NULL, + "title", _("About AccessX Status"), "version", VERSION, "comments", _("Shows the state of AccessX features such as latched modifiers"), "copyright", copyright, |