Re: [evolution-patches] patch for a11y bug of contact selector UI
- From: Hans Petter Jansson <hpj ximian com>
- To: hao sheng sun com
- Cc: evolution-patches ximian com
- Subject: Re: [evolution-patches] patch for a11y bug of contact selector UI
- Date: Wed, 26 Jan 2005 22:08:39 -0600
> Attach is an a11y patch for evolution contact selector UI, include
> adding accesskey and making gok work correctly.
The patch for e-contact-list-editor.c looks ok. As for the other patch:
In e-name-selector-dialog.c:
+ a11y = gtk_widget_get_accessible (section.destination_view);
+ if (a11y != NULL) {
+ gchar *text;
+ if (pango_parse_markup (pretty_name, -1, '_', NULL,
+ &text, NULL, NULL)) {
+ atk_object_set_name (a11y, text);
+ g_free (text);
+ }
The indenting of the inner scope here is bad.
In e-name-selector.c:
+ a11y = gtk_widget_get_accessible (GTK_WIDGET
(§ion->entry->parent));
You don't need to use §ion->entry->parent here, just use
section->entry. It's the same pointer offset.
--
Hans Petter Jansson | <hpj novell com>
Evolution Developer | http://hp.cl.no/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]