summaryrefslogtreecommitdiff
path: root/cpufreq/src/cpufreq-applet.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-13 11:56:39 +0100
committerraveit65 <[email protected]>2019-03-20 15:55:32 +0100
commit177f1081b3b52753bec2fbb560f40e1c9faaae52 (patch)
tree29a78a7bc801177149e1b4465fcf0f9fe9b06b5a /cpufreq/src/cpufreq-applet.c
parentc2db44280ef7aebdca6c62a6f39f0bbe2c1200da (diff)
downloadmate-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 'cpufreq/src/cpufreq-applet.c')
-rw-r--r--cpufreq/src/cpufreq-applet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpufreq/src/cpufreq-applet.c b/cpufreq/src/cpufreq-applet.c
index 940965e5..d9461a5b 100644
--- a/cpufreq/src/cpufreq-applet.c
+++ b/cpufreq/src/cpufreq-applet.c
@@ -478,6 +478,7 @@ cpufreq_applet_about_cb (GtkAction *action,
};
gtk_show_about_dialog (NULL,
+ "title", _("About CPU Frequency Scaling Monitor"),
"version", VERSION,
"copyright", copyright,
"comments", _("This utility shows the current CPU "