summaryrefslogtreecommitdiff
path: root/command
diff options
context:
space:
mode:
Diffstat (limited to 'command')
-rw-r--r--command/src/command.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/command/src/command.c b/command/src/command.c
index 2412d123..120aa9c8 100644
--- a/command/src/command.c
+++ b/command/src/command.c
@@ -407,6 +407,7 @@ static gboolean
command_applet_fill (MatePanelApplet* applet)
{
CommandApplet *command_applet;
+ AtkObject *atk_widget;
g_set_application_name (_("Command Applet"));
gtk_window_set_default_icon_name (APPLET_ICON);
@@ -464,6 +465,14 @@ command_applet_fill (MatePanelApplet* applet)
"visible",
G_SETTINGS_BIND_DEFAULT);
+ atk_widget = gtk_widget_get_accessible (command_applet->applet);
+ if (GTK_IS_ACCESSIBLE (atk_widget)) {
+ atk_object_set_name (atk_widget,
+ _("Command applet"));
+ atk_object_set_description (atk_widget,
+ _("Shows the output of a command"));
+ }
+
/* set up context menu */
GtkActionGroup *action_group = gtk_action_group_new ("Command Applet Actions");
gtk_action_group_set_translation_domain (action_group, GETTEXT_PACKAGE);