diff options
author | rbuj <[email protected]> | 2019-02-16 09:43:13 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-02-16 10:40:06 +0100 |
commit | 2eec5c431f638c99e3d4a6dd13d085c72b781316 (patch) | |
tree | cd03d4ab5b679506bb3e711e83e6b523157df96a /src | |
parent | acd6123cf163948434e364c419d96cf1cfcae32a (diff) | |
download | mate-system-monitor-2eec5c431f638c99e3d4a6dd13d085c72b781316.tar.bz2 mate-system-monitor-2eec5c431f638c99e3d4a6dd13d085c72b781316.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 'src')
-rw-r--r-- | src/callbacks.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/callbacks.cpp b/src/callbacks.cpp index ee297ba..1cf0ede 100644 --- a/src/callbacks.cpp +++ b/src/callbacks.cpp @@ -201,6 +201,7 @@ cb_about (GtkAction *action, gpointer data) gtk_show_about_dialog ( GTK_WINDOW (procdata->app), "name", _("System Monitor"), + "title", _("About System Monitor"), "comments", _("View current processes and monitor system state"), "version", VERSION, "copyright", _("Copyright \xc2\xa9 2001-2004 Kevin Vandersloot\n" |