summaryrefslogtreecommitdiff
path: root/mateweather
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-13 11:56:39 +0100
committerraveit65 <[email protected]>2019-03-20 15:38:56 +0100
commit5b153a6130de6b905b73b9e1a23b3922c929a0a7 (patch)
tree87224e66b2a8d2f117584e229269d20b37cbf48a /mateweather
parentf3654da400e936dbc2f52b40c9a1869d2f5e46eb (diff)
downloadmate-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 'mateweather')
-rw-r--r--mateweather/mateweather-about.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mateweather/mateweather-about.c b/mateweather/mateweather-about.c
index 42beb87c..eed30198 100644
--- a/mateweather/mateweather-about.c
+++ b/mateweather/mateweather-about.c
@@ -48,6 +48,7 @@ void mateweather_about_run(MateWeatherApplet* gw_applet)
};
gtk_show_about_dialog(NULL,
+ "title", _("About Weather Report"),
"version", VERSION,
"copyright", copyright,
"comments", _("A panel application for monitoring local weather conditions."),