Re: [evolution-patches] Patch for bugzilla bug 44876, mail and addressbook related



On Tue, 2004-10-26 at 17:12 +0800, Mengjie Yu wrote:
> Hi
> 
> I have two patches for the bug 44876
> http://bugzilla.ximian.com/show_bug.cgi?id=44876
> 
> please review it. 
> 
@@ -199,6 +199,18 @@ e_select_names_manager_entry_new (ESelec
        entry->id = g_strdup (id);
 
        entry->entry = E_ENTRY (e_entry_new ());
+
+       if (atk_get_root () != NULL) {
+               AtkObject *a11y = atk_gobject_accessible_for_object
(entry->entry->item);
+               if (a11y != NULL) {
+                       gchar *text;
+                       if (pango_parse_markup (id, -1, '_', NULL,
+                                       &text, NULL, NULL))  {
+                               atk_object_set_name (a11y, text);
+                               g_free (text);
+                       }
+               }
+       }
        text_model = e_select_names_text_model_new (model);
        g_object_set(entry->entry,
                     "model",          text_model, /* The entry takes
ownership of the text model */


Why doesn't this use gtk_widget_get_accessible?

-JP
-- 
JP Rosevear <jpr novell com>
Novell, Inc.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]