aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLi Yuan <li.yuan@sun.com>2005-02-03 21:52:06 +0800
committerHarry Lu <haip@src.gnome.org>2005-02-03 21:52:06 +0800
commit45a8f1e53f500058452b580fd51fd687df47b774 (patch)
tree2697b0b1b6bfbf41a273887c0d7d29fd0a0001bf
parent225fa2319bd9016d24ff0bf89343efd51e06dcce (diff)
downloadgsoc2013-evolution-45a8f1e53f500058452b580fd51fd687df47b774.tar
gsoc2013-evolution-45a8f1e53f500058452b580fd51fd687df47b774.tar.gz
gsoc2013-evolution-45a8f1e53f500058452b580fd51fd687df47b774.tar.bz2
gsoc2013-evolution-45a8f1e53f500058452b580fd51fd687df47b774.tar.lz
gsoc2013-evolution-45a8f1e53f500058452b580fd51fd687df47b774.tar.xz
gsoc2013-evolution-45a8f1e53f500058452b580fd51fd687df47b774.tar.zst
gsoc2013-evolution-45a8f1e53f500058452b580fd51fd687df47b774.zip
add a11y name to url link button.
2005-02-02 Li Yuan <li.yuan@sun.com> * e-url-entry.c: (init): add a11y name to url link button. svn path=/trunk/; revision=28688
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-url-entry.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index aa04365165..29a90b9663 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-02 Li Yuan <li.yuan@sun.com>
+
+ * e-url-entry.c: (init):
+ add a11y name to url link button.
+
2005-01-26 Rodney Dawes <dobey@novell.com>
* e-error.c (e_error_newv): Fix up spacing to be HIG compliant for
diff --git a/widgets/misc/e-url-entry.c b/widgets/misc/e-url-entry.c
index e712485585..e7e1dbd490 100644
--- a/widgets/misc/e-url-entry.c
+++ b/widgets/misc/e-url-entry.c
@@ -27,6 +27,7 @@
#include <gtk/gtk.h>
#include <libgnome/gnome-url.h>
+#include <glib/gi18n.h>
#include "e-url-entry.h"
#include <e-util/e-icon-factory.h>
@@ -103,6 +104,7 @@ init (EUrlEntry *url_entry)
priv->button = gtk_button_new ();
gtk_widget_set_sensitive (priv->button, FALSE);
gtk_box_pack_start (GTK_BOX (url_entry), priv->button, FALSE, FALSE, 0);
+ atk_object_set_name (gtk_widget_get_accessible (priv->button), _("click here to go to url"));
pixmap = e_icon_factory_get_image ("stock_connect-to-url", E_ICON_SIZE_BUTTON);
gtk_container_add (GTK_CONTAINER (priv->button), pixmap);
gtk_widget_show (pixmap);