diff options
author | rbuj <[email protected]> | 2019-03-13 11:56:39 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-03-20 15:38:56 +0100 |
commit | 5b153a6130de6b905b73b9e1a23b3922c929a0a7 (patch) | |
tree | 87224e66b2a8d2f117584e229269d20b37cbf48a /command | |
parent | f3654da400e936dbc2f52b40c9a1869d2f5e46eb (diff) | |
download | mate-applets-5b153a6130de6b905b73b9e1a23b3922c929a0a7.tar.bz2 mate-applets-5b153a6130de6b905b73b9e1a23b3922c929a0a7.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 'command')
-rw-r--r-- | command/command.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/command/command.c b/command/command.c index 6c499922..7e147f69 100644 --- a/command/command.c +++ b/command/command.c @@ -109,6 +109,7 @@ command_about_callback (GtkAction *action, CommandApplet *command_applet) "Copyright \xc2\xa9 2013-2014 Stefano Karapetsas"; gtk_show_about_dialog(NULL, + "title", _("About Command Applet"), "version", VERSION, "copyright", copyright, "authors", authors, |