aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/simple-client.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/example/simple-client.c b/example/simple-client.c
index 9c9a14b..d5c9ad8 100644
--- a/example/simple-client.c
+++ b/example/simple-client.c
@@ -49,9 +49,9 @@ a11yname_toggle_cb (GtkWidget * widget, gpointer data)
can_haz_a11yname = !can_haz_a11yname;
if (can_haz_a11yname) {
- gtk_menu_item_set_label(GTK_MENU_ITEM(widget), "Hide accessible name");
+ gtk_menu_item_set_label(GTK_MENU_ITEM(widget), "Hide accessible description");
} else {
- gtk_menu_item_set_label(GTK_MENU_ITEM(widget), "Show accessible name");
+ gtk_menu_item_set_label(GTK_MENU_ITEM(widget), "Show accessible description");
}
return;
@@ -157,10 +157,10 @@ percent_change (gpointer user_data)
}
if (can_haz_a11yname) {
gchar * percentstr = g_strdup_printf("%d%%", percentage + 1);
- app_indicator_set_accessible_name (APP_INDICATOR(user_data), percentstr);
+ app_indicator_set_accessible_desc (APP_INDICATOR(user_data), percentstr);
g_free(percentstr);
} else {
- app_indicator_set_accessible_name (APP_INDICATOR(user_data), NULL);
+ app_indicator_set_accessible_desc (APP_INDICATOR(user_data), NULL);
}
return TRUE;
}
@@ -235,7 +235,7 @@ main (int argc, char ** argv)
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
gtk_widget_show(item);
- item = gtk_menu_item_new_with_label ("Show accessible name");
+ item = gtk_menu_item_new_with_label ("Show accessible description");
a11yname_toggle_cb(item, ci);
g_signal_connect (item, "activate",
G_CALLBACK (a11yname_toggle_cb), ci);