summaryrefslogtreecommitdiff
path: root/applets/wncklet/workspace-switcher.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-02-16 23:22:06 +0100
committerraveit65 <[email protected]>2019-02-17 13:11:20 +0100
commit1db7d2a9963e990cc0bf8a7038f74fdb63e0b3b0 (patch)
tree6922fe378e7d6a0ebeb680d8992bec69f4844b3b /applets/wncklet/workspace-switcher.c
parent84c0435e762c6338b72d95a763c8bdee497c4abb (diff)
downloadmate-panel-1db7d2a9963e990cc0bf8a7038f74fdb63e0b3b0.tar.bz2
mate-panel-1db7d2a9963e990cc0bf8a7038f74fdb63e0b3b0.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 'applets/wncklet/workspace-switcher.c')
-rw-r--r--applets/wncklet/workspace-switcher.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c
index d3475e0d..4089c85f 100644
--- a/applets/wncklet/workspace-switcher.c
+++ b/applets/wncklet/workspace-switcher.c
@@ -632,6 +632,7 @@ static void display_about_dialog(GtkAction* action, PagerData* pager)
gtk_show_about_dialog(GTK_WINDOW(pager->applet),
"program-name", _("Workspace Switcher"),
+ "title", _("About Workspace Switcher"),
"authors", authors,
"comments", _("The Workspace Switcher shows you a small version of your workspaces that lets you manage your windows."),
"copyright", _("Copyright \xc2\xa9 2002 Red Hat, Inc.\n"