aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Bräckelmann <kbrae@src.gnome.org>2006-02-11 06:28:38 +0800
committerKarsten Bräckelmann <kbrae@src.gnome.org>2006-02-11 06:28:38 +0800
commitdc8e4af46d6d33f784a229925fbb783d78760196 (patch)
treea0e11ad528e361d2384bd645d57056fe8c1721fa
parent1a405a9af68f240ccdd2cbebd37d3fd577e025e7 (diff)
downloadgsoc2013-evolution-dc8e4af46d6d33f784a229925fbb783d78760196.tar.gz
gsoc2013-evolution-dc8e4af46d6d33f784a229925fbb783d78760196.tar.zst
gsoc2013-evolution-dc8e4af46d6d33f784a229925fbb783d78760196.zip
a11y changes for bug #330723
svn path=/trunk/; revision=31477
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/dialogs/comp-editor.c3
-rw-r--r--calendar/gui/e-calendar-table.c2
-rw-r--r--calendar/gui/e-memo-table.c2
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-account-prefs.c2
-rw-r--r--mail/em-format-html-display.c4
-rw-r--r--mail/message-list.c2
-rw-r--r--plugins/itip-formatter/ChangeLog5
-rw-r--r--plugins/itip-formatter/itip-formatter.c2
-rw-r--r--widgets/misc/ChangeLog8
-rw-r--r--widgets/misc/e-calendar.c4
-rw-r--r--widgets/misc/e-dateedit.c8
-rw-r--r--widgets/misc/e-search-bar.c2
14 files changed, 43 insertions, 15 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 882acd6edc..a0393412d1 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2006-02-11 Karsten Bräckelmann <guenther@rudersport.de>
+
+ * gui/dialogs/comp-editor.c (setup_widgets):
+ * gui/e-memo-table.c (e_memo_table_init):
+ * gui/e-calendar-table.c (e_calendar_table_init):
+ Change a11y names and add description. Fixes part of bug #330723.
+
2006-02-10 Karsten Bräckelmann <guenther@rudersport.de>
* gui/e-timezone-entry.c (e_timezone_entry_init): Correct the a11y
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 96055ab084..033d93ca7b 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -1463,7 +1463,8 @@ setup_widgets (CompEditor *editor)
priv->attachment_expander = e_expander_new ("");
e_expander_set_label_widget (E_EXPANDER (priv->attachment_expander), expander_hbox);
- atk_object_set_name (gtk_widget_get_accessible (priv->attachment_expander), _("Attachment Button: Press space key to toggle attachment bar"));
+ atk_object_set_name (gtk_widget_get_accessible (priv->attachment_expander), _("Show Attachments"));
+ atk_object_set_description (gtk_widget_get_accessible (priv->attachment_expander), _("Press space key to toggle attachment bar"));
gtk_container_add (GTK_CONTAINER (priv->attachment_expander), priv->attachment_scrolled_window);
gtk_box_pack_start (GTK_BOX (vbox), priv->attachment_expander, FALSE, FALSE, GNOME_PAD_SMALL);
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c
index 164aef0786..74865debdf 100644
--- a/calendar/gui/e-calendar-table.c
+++ b/calendar/gui/e-calendar-table.c
@@ -522,7 +522,7 @@ e_calendar_table_init (ECalendarTable *cal_table)
a11y = gtk_widget_get_accessible ((GtkWidget *)e_table);
if (a11y)
- atk_object_set_name (a11y, _("Task Table"));
+ atk_object_set_name (a11y, _("Tasks"));
}
diff --git a/calendar/gui/e-memo-table.c b/calendar/gui/e-memo-table.c
index 7a8fae5b9f..b63cde43d2 100644
--- a/calendar/gui/e-memo-table.c
+++ b/calendar/gui/e-memo-table.c
@@ -271,7 +271,7 @@ e_memo_table_init (EMemoTable *memo_table)
a11y = gtk_widget_get_accessible (GTK_WIDGET(e_table));
if (a11y)
- atk_object_set_name (a11y, _("Memo Table"));
+ atk_object_set_name (a11y, _("Memos"));
}
diff --git a/mail/ChangeLog b/mail/ChangeLog
index a2bc758cf4..f71dfa584d 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2006-02-11 Karsten Bräckelmann <guenther@rudersport.de>
+
+ * message-list.c (message_list_construct):
+ * em-format-html-display.c (efhd_attachment_button, efhd_add_bar):
+ * em-account-prefs.c (em_account_prefs_treeview_new):
+ Change a11y names. Fixes part of bug #330723.
+
2006-02-10 Karsten Bräckelmann <guenther@rudersport.de>
* em-utils.c (em_utils_edit_filters): Fix Filters dialog window
diff --git a/mail/em-account-prefs.c b/mail/em-account-prefs.c
index 2e54404fc7..ec0a232e88 100644
--- a/mail/em-account-prefs.c
+++ b/mail/em-account-prefs.c
@@ -528,7 +528,7 @@ em_account_prefs_treeview_new (char *widget_name, char *string1, char *string2,
selection = gtk_tree_view_get_selection ((GtkTreeView *) table);
gtk_tree_selection_set_mode (selection, GTK_SELECTION_SINGLE);
gtk_tree_view_set_headers_visible ((GtkTreeView *) table, TRUE);
- atk_object_set_name (gtk_widget_get_accessible (table), _("Mail Accounts Table"));
+ atk_object_set_name (gtk_widget_get_accessible (table), _("Mail Accounts"));
/* FIXME: column auto-resize? */
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index 4462ad8a4a..1f3295decd 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -1662,7 +1662,7 @@ efhd_attachment_button(EMFormatHTML *efh, GtkHTMLEmbedded *eb, EMFormatHTMLPObje
gtk_container_add((GtkContainer *)button, gtk_arrow_new(GTK_ARROW_DOWN, GTK_SHADOW_NONE));
a11y = gtk_widget_get_accessible (button);
- atk_object_set_name (a11y, _("Attachment Button"));
+ atk_object_set_name (a11y, _("Attachment"));
g_signal_connect(button, "button_press_event", G_CALLBACK(efhd_attachment_popup), info);
g_signal_connect(button, "popup_menu", G_CALLBACK(efhd_attachment_popup_menu), info);
@@ -2060,7 +2060,7 @@ efhd_add_bar(EMFormatHTML *efh, GtkHTMLEmbedded *eb, EMFormatHTMLPObject *pobjec
gtk_box_pack_start ((GtkBox *)hbox3, priv->down, FALSE, FALSE, 0);
priv->arrow = (GtkWidget *)gtk_tool_button_new(hbox3, NULL);
g_signal_connect (priv->arrow, "mnemonic_activate", G_CALLBACK (efhd_mnemonic_show_bar), efh);
- atk_object_set_name (gtk_widget_get_accessible (priv->arrow), _("Toggle Attachment Bar"));
+ atk_object_set_name (gtk_widget_get_accessible (priv->arrow), _("Show Attachments"));
priv->label = gtk_label_new(_("No Attachment"));
gtk_label_set_mnemonic_widget (GTK_LABEL (priv->label), priv->arrow);
diff --git a/mail/message-list.c b/mail/message-list.c
index a59f2080c8..610bc1e76c 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -2060,7 +2060,7 @@ message_list_construct (MessageList *message_list)
if (atk_get_root() != NULL) {
a11y = gtk_widget_get_accessible((GtkWidget *)message_list->tree);
- atk_object_set_name(a11y, _("Message List"));
+ atk_object_set_name(a11y, _("Messages"));
}
g_signal_connect((message_list->tree), "cursor_activated",
diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog
index f7190e454a..fc8d5903f7 100644
--- a/plugins/itip-formatter/ChangeLog
+++ b/plugins/itip-formatter/ChangeLog
@@ -1,3 +1,8 @@
+2006-02-11 Karsten Bräckelmann <guenther@rudersport.de>
+
+ * itip-formatter.c (itip_formatter_page_factory):
+ Change a11y names. Fixes part of bug #330723.
+
2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
* itip-formatter.c: (find_cal_opened_cb), (message_foreach_part),
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index a3baaad25e..54ac321436 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -2028,7 +2028,7 @@ itip_formatter_page_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_data)
gtk_box_pack_start (GTK_BOX (inner_vbox), scrolledwin, TRUE, TRUE, 0);
ess = e_source_selector_new (source_list);
- atk_object_set_name (gtk_widget_get_accessible (ess), _("Conflict Search Table"));
+ atk_object_set_name (gtk_widget_get_accessible (ess), _("Conflict Search"));
gtk_container_add (GTK_CONTAINER (scrolledwin), ess);
initialize_selection (E_SOURCE_SELECTOR (ess), source_list);
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 743ea8bb65..b72c1ad183 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,11 @@
+2006-02-11 Karsten Bräckelmann <guenther@rudersport.de>
+
+ * e-search-bar.c (activate_by_subitems):
+ * e-dateedit.c (e_date_edit_new, create_children)
+ (create_children, create_children):
+ * e-calendar.c (e_calendar_init):
+ Change a11y names. Fixes part of bug #330723.
+
2006-01-16 Nancy Cai <nancy.cai@sun.com>
** Fixes bug #326649
diff --git a/widgets/misc/e-calendar.c b/widgets/misc/e-calendar.c
index 83b012f4fe..dda0b141c5 100644
--- a/widgets/misc/e-calendar.c
+++ b/widgets/misc/e-calendar.c
@@ -174,7 +174,7 @@ e_calendar_init (ECalendar *cal)
"widget", button,
NULL);
a11y = gtk_widget_get_accessible (button);
- atk_object_set_name (a11y, _("Previous Button"));
+ atk_object_set_name (a11y, _("Previous"));
button = gtk_button_new ();
gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
@@ -198,7 +198,7 @@ e_calendar_init (ECalendar *cal)
"widget", button,
NULL);
a11y = gtk_widget_get_accessible (button);
- atk_object_set_name (a11y, _("Previous Button"));
+ atk_object_set_name (a11y, _("Previous"));
cal->min_rows = 1;
cal->min_cols = 1;
diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c
index 15d442111e..c031dc1415 100644
--- a/widgets/misc/e-dateedit.c
+++ b/widgets/misc/e-dateedit.c
@@ -318,7 +318,7 @@ e_date_edit_new (void)
dedit = g_object_new (E_TYPE_DATE_EDIT, NULL);
a11y = gtk_widget_get_accessible (GTK_WIDGET (dedit));
- atk_object_set_name (a11y, _("Date and Time Entry"));
+ atk_object_set_name (a11y, _("Date and Time"));
return GTK_WIDGET (dedit);
}
@@ -338,7 +338,7 @@ create_children (EDateEdit *dedit)
priv->date_entry = gtk_entry_new ();
a11y = gtk_widget_get_accessible (priv->date_entry);
atk_object_set_description (a11y, _("Text entry to input date"));
- atk_object_set_name (a11y, _("Text Date Entry"));
+ atk_object_set_name (a11y, _("Date"));
gtk_box_pack_start (GTK_BOX (dedit), priv->date_entry, FALSE, TRUE, 0);
gtk_widget_set_size_request (priv->date_entry, 100, -1);
@@ -360,7 +360,7 @@ create_children (EDateEdit *dedit)
FALSE, FALSE, 0);
a11y = gtk_widget_get_accessible (priv->date_button);
atk_object_set_description (a11y, _("Click this button to show a calendar"));
- atk_object_set_name (a11y, _("Date Button"));
+ atk_object_set_name (a11y, _("Date"));
arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE);
gtk_container_add (GTK_CONTAINER (priv->date_button), arrow);
@@ -382,7 +382,7 @@ create_children (EDateEdit *dedit)
rebuild_time_popup (dedit);
a11y = gtk_widget_get_accessible (priv->time_combo);
atk_object_set_description (a11y, _("Combo box to select time"));
- atk_object_set_name (a11y, _("Time Combo Box"));
+ atk_object_set_name (a11y, _("Time"));
g_signal_connect (GTK_COMBO (priv->time_combo)->entry,
"key_press_event",
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c
index d1328cffa1..f6aa2b6bf0 100644
--- a/widgets/misc/e-search-bar.c
+++ b/widgets/misc/e-search-bar.c
@@ -368,7 +368,7 @@ activate_by_subitems (ESearchBar *esb, gint item_id, ESearchBarSubitem *subitems
a11y = gtk_widget_get_accessible (esb->entry);
/* To translators: This is the accessibility name of
the search bar's text entry widget */
- atk_object_set_name (a11y, _("Search Text Entry"));
+ atk_object_set_name (a11y, _("Search"));
esb->subitem_id = -1;
}