[evolution-patches] Patch for the bug ##63778



hi, Chris

Attach is the patch to fix the bug #63778 on http://bugzilla.ximian.com.
Please Would you like to spend a little time to review it, please?

Best regards
hao.sheng
--- Begin Message ---
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1816
diff -u -r1.1816 ChangeLog
--- ChangeLog	21 Aug 2004 21:53:41 -0000	1.1816
+++ ChangeLog	24 Aug 2004 09:15:29 -0000
@@ -1,3 +1,12 @@
+2004-08-24 Hao Sheng <hao sheng sun com>
+	
+	Fixes bug #63778
+
+	* gui/component/addressbook-config.c:
+	(setup_searching_tab): add atk object name to the "timeout-scale"
+	widget, so it can be UI Grab.
+				
+
 2004-08-20  Chris Toshok  <toshok ximian com>
 
 	* gui/component/component-factory.c (factory): remove the dead
Index: gui/component/addressbook-config.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/component/addressbook-config.c,v
retrieving revision 1.87
diff -u -r1.87 addressbook-config.c
--- gui/component/addressbook-config.c	2 Aug 2004 18:03:04 -0000	1.87
+++ gui/component/addressbook-config.c	24 Aug 2004 09:15:29 -0000
@@ -782,7 +782,8 @@
 {
 	GtkWidget *menu;
 	GtkWidget *rootdn_button;
-
+	AtkObject * a11y;
+	
 	dialog->searching_modify_func = modify_func;
 
 
@@ -798,7 +799,11 @@
 	gtk_container_foreach (GTK_CONTAINER (menu), (GtkCallback)add_scope_activate_cb, dialog);
 
 	dialog->timeout_scale = glade_xml_get_widget (dialog->gui, "timeout-scale");
-	
+	a11y = gtk_widget_get_accessible (dialog->timeout_scale);
+	if (a11y != NULL) {
+		atk_object_set_name (a11y, _("Timeout scale"));
+	}
+		
 	if (modify_func)
 		g_signal_connect (GTK_RANGE(dialog->timeout_scale)->adjustment,
 				  "value_changed",

--- End Message ---


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