[evolution-patches] patch to fix #71664
- From: Li Yuan <Li Yuan Sun COM>
- To: JP Rosevear <jpr novell com>
- Cc: patches <evolution-patches lists ximian com>
- Subject: [evolution-patches] patch to fix #71664
- Date: Mon, 24 Jan 2005 18:01:04 +0800
Hi, JP
Here is a patch to fix bugzilla #71664.
http://bugzilla.ximian.com/show_bug.cgi?id=71664
Please help me to review it.
Regards,
Li
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gal/ChangeLog,v
retrieving revision 1.904
diff -u -r1.904 ChangeLog
--- ChangeLog 22 Jan 2005 03:44:36 -0000 1.904
+++ ChangeLog 24 Jan 2005 09:56:55 -0000
@@ -1,3 +1,10 @@
+2005-01-24 Li Yuan <li yuan sun com>
+
+ * gal/widgets/gal-combo-box.c: (gal_combo_box_init):
+ Set arrow button's a11y name.
+
+ Fixes #71664.
+
2005-01-21 Rodney Dawes <dobey novell com>
* gal/e-text/e-text.c (_do_tooltip): Don't pass in the "fill_color"
Index: gal/widgets/gal-combo-box.c
===================================================================
RCS file: /cvs/gnome/gal/gal/widgets/gal-combo-box.c,v
retrieving revision 1.2
diff -u -r1.2 gal-combo-box.c
--- gal/widgets/gal-combo-box.c 12 Feb 2004 17:02:31 -0000 1.2
+++ gal/widgets/gal-combo-box.c 24 Jan 2005 09:56:56 -0000
@@ -36,6 +36,7 @@
#include <gtk/gtkvbox.h>
#include <gtk/gtktearoffmenuitem.h>
#include <gdk/gdkkeysyms.h>
+#include <glib/gi18n.h>
#include "gal-combo-box.h"
#include "gal/util/e-util.h"
@@ -393,6 +394,7 @@
{
GtkWidget *arrow;
GdkCursor *cursor;
+ AtkObject *atko;
combo_box->priv = g_new0 (GalComboBoxPrivate, 1);
@@ -409,6 +411,9 @@
g_signal_connect (combo_box->priv->arrow_button, "toggled",
G_CALLBACK (gtk_combo_toggle_pressed), combo_box);
gtk_widget_show_all (combo_box->priv->arrow_button);
+ /* set the a11y name */
+ atko = gtk_widget_get_accessible (combo_box->priv->arrow_button);
+ atk_object_set_name (atko, _("Popup"));
/*
* prelight the display widget when mousing over the arrow.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]