changeset 10266:2a9ec10e0c4c

[gaim-migrate @ 11412] This should set a label on the image in the about window of "Gaim VERSION" for accessibility. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 26 Nov 2004 02:57:23 +0000
parents d24de0d2aabd
children 9cafe038c95e
files src/gtkdialogs.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkdialogs.c	Fri Nov 26 02:54:34 2004 +0000
+++ b/src/gtkdialogs.c	Fri Nov 26 02:57:23 2004 +0000
@@ -170,6 +170,7 @@
 	GtkTextIter iter;
 	GString *str;
 	int i;
+	AtkObject *obj;
 
 	if (about != NULL) {
 		gtk_window_present(GTK_WINDOW(about));
@@ -191,6 +192,8 @@
 	gtk_container_add(GTK_CONTAINER(hbox), vbox);
 
 	logo = gtk_image_new_from_stock(GAIM_STOCK_LOGO, gtk_icon_size_from_name(GAIM_ICON_SIZE_LOGO));
+	obj = gtk_widget_get_accessible(logo);
+	atk_object_set_description(obj, "Gaim " VERSION);
 	gtk_box_pack_start(GTK_BOX(vbox), logo, FALSE, FALSE, 0);
 
 	frame = gaim_gtk_create_imhtml(FALSE, &text, NULL);