aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-map.c
diff options
context:
space:
mode:
authorLi Yuan <li.yuan@sun.com>2004-11-01 13:04:37 +0800
committerHarry Lu <haip@src.gnome.org>2004-11-01 13:04:37 +0800
commitcb9c99c5f424496a2fb8526a8c2e492d41140e9e (patch)
treeac8bf00f2f62bfef4a3a448a05e13c843d1daea6 /widgets/misc/e-map.c
parent96974d33c3010ba91d201accc5ed5c949e5cc921 (diff)
downloadgsoc2013-evolution-cb9c99c5f424496a2fb8526a8c2e492d41140e9e.tar.gz
gsoc2013-evolution-cb9c99c5f424496a2fb8526a8c2e492d41140e9e.tar.zst
gsoc2013-evolution-cb9c99c5f424496a2fb8526a8c2e492d41140e9e.zip
Add a name for timezone combox. Make accessibility name and description
2004-10-28 Li Yuan <li.yuan@sun.com> * e-timezone-dialog/e-timezone-dialog.glade: Add a name for timezone combox. * misc/e-calendar.c: (e_calendar_init), (e_calendar_new): Make accessibility name and description translatable. Add a atk name for the two buttons so that they can be UI grabbed by GOK. * misc/e-dateedit.c: (e_date_edit_new), (create_children): Add a name for atk object. Make accessibility name and description translatable. Add name and description for the date_entry, date_button and time_combo. (e_date_edit_show_date_popup), (hide_date_popup): Grab and ungrab keyboard. add_relation(): New function to add labelled_by relation for entry and combobox. * misc/e-map.c: (e_map_new): Add a name for world map widget. Make accessibility name and description translatable. Set the atk role to image. * misc/e-multi-config-dialog.c: (e_multi_config_dialog_add_page): Add an atk name for the page. svn path=/trunk/; revision=27776
Diffstat (limited to 'widgets/misc/e-map.c')
-rw-r--r--widgets/misc/e-map.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/widgets/misc/e-map.c b/widgets/misc/e-map.c
index 4e9a377460..f2a28f0dda 100644
--- a/widgets/misc/e-map.c
+++ b/widgets/misc/e-map.c
@@ -27,6 +27,7 @@
#include <gtk/gtksignal.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <libart_lgpl/art_filterlevel.h>
+#include <libgnome/gnome-i18n.h>
#include "e-map.h"
@@ -639,8 +640,13 @@ EMap *
e_map_new ()
{
GtkWidget *widget;
+ AtkObject *a11y;
widget = GTK_WIDGET (gtk_type_new (TYPE_E_MAP));
+ a11y = gtk_widget_get_accessible (widget);
+ atk_object_set_name (a11y, _("World Map"));
+ atk_object_set_role (a11y, ATK_ROLE_IMAGE);
+ atk_object_set_description (a11y, _("Mouse-based interactive map widget for selecting timezone. Keyboard users should select the timezone from the below combo box instead."));
return (E_MAP (widget));
}