summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-04-11 14:12:03 +0200
committerRobert Antoni Buj Gelonch <[email protected]>2019-04-12 08:33:09 +0200
commit5c0c91aa21feb6bdcd116ae9aa2ce8a8854b0125 (patch)
treead00d7e897c14f449f2932a8d909f9d9865b9c78 /src
parent3a57e0970b4dceb7f41b313256e9b3bb7a0a039e (diff)
downloadmate-system-monitor-5c0c91aa21feb6bdcd116ae9aa2ce8a8854b0125.tar.bz2
mate-system-monitor-5c0c91aa21feb6bdcd116ae9aa2ce8a8854b0125.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')
-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"),