summaryrefslogtreecommitdiff
path: root/src/callbacks.cpp
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-04-11 14:12:03 +0200
committerrbuj <[email protected]>2019-04-12 08:34:28 +0200
commit9d971d70d1f5e9bae0ce54146d75c4de1967293c (patch)
tree65ccc264593c89eaecd6dcb377af0c86775ed188 /src/callbacks.cpp
parent4c178777645d86018a85e9dda8f193f3dead6772 (diff)
downloadmate-system-monitor-9d971d70d1f5e9bae0ce54146d75c4de1967293c.tar.bz2
mate-system-monitor-9d971d70d1f5e9bae0ce54146d75c4de1967293c.tar.xz
gtk3: use “program-name” property in gtk_show_about_dialog
It also fixes the properties order to show properly the window title localized (l10n).
Diffstat (limited to 'src/callbacks.cpp')
-rw-r--r--src/callbacks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/callbacks.cpp b/src/callbacks.cpp
index 1cf0ede..149e955 100644
--- a/src/callbacks.cpp
+++ b/src/callbacks.cpp
@@ -200,10 +200,10 @@ cb_about (GtkAction *action, gpointer data)
gtk_show_about_dialog (
GTK_WINDOW (procdata->app),
- "name", _("System Monitor"),
+ "program-name", _("System Monitor"),
+ "version", VERSION,
"title", _("About System Monitor"),
"comments", _("View current processes and monitor system state"),
- "version", VERSION,
"copyright", _("Copyright \xc2\xa9 2001-2004 Kevin Vandersloot\n"
"Copyright \xc2\xa9 2005-2007 Benoît Dejean\n"
"Copyright \xc2\xa9 2011-2019 MATE developers"),