Mercurial > pidgin.yaz
comparison pidgin/gtkutils.c @ 18287:44928d01ec8c
Call gtk_label_set_mnemonic_widget() in pidgin_make_accessible_label. Closes #589
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Tue, 26 Jun 2007 18:47:40 +0000 |
parents | 571e0ca28d6c |
children | 7f2c22c705a5 3b0d12179262 |
comparison
equal
deleted
inserted
replaced
18286:95731e366df2 | 18287:44928d01ec8c |
---|---|
1145 const gchar *existing_name; | 1145 const gchar *existing_name; |
1146 | 1146 |
1147 acc = gtk_widget_get_accessible (w); | 1147 acc = gtk_widget_get_accessible (w); |
1148 label = gtk_widget_get_accessible (l); | 1148 label = gtk_widget_get_accessible (l); |
1149 | 1149 |
1150 /* Make sure mnemonics work */ | |
1151 gtk_label_set_mnemonic_widget(GTK_LABEL(l), w); | |
1152 | |
1150 /* If this object has no name, set it's name with the label text */ | 1153 /* If this object has no name, set it's name with the label text */ |
1151 existing_name = atk_object_get_name (acc); | 1154 existing_name = atk_object_get_name (acc); |
1152 if (!existing_name) { | 1155 if (!existing_name) { |
1153 label_text = gtk_label_get_text (GTK_LABEL(l)); | 1156 label_text = gtk_label_get_text (GTK_LABEL(l)); |
1154 if (label_text) | 1157 if (label_text) |