# HG changeset patch # User Christian Hammond # Date 1075508974 0 # Node ID cd9ea20cd8edd69aebccdac4b683854228badc74 # Parent 32e68ef6d668ee0ee37f013938ad9c6d0a36af45 [gaim-migrate @ 8909] Fixing a bug caused by calling gaim_set_accessible_label() after we create a checkbox and sticking it in a label. *blink* Claiming my 10 penguin points. I need to pay my rent to the Penguin Overlords. committer: Tailor Script diff -r 32e68ef6d668 -r cd9ea20cd8ed src/gtkprefs.c --- a/src/gtkprefs.c Fri Jan 30 23:28:42 2004 +0000 +++ b/src/gtkprefs.c Sat Jan 31 00:29:34 2004 +0000 @@ -1258,6 +1258,7 @@ GtkWidget *vbox; GtkWidget *hbox; GtkWidget *label; + GtkWidget *checkbox; GtkWidget *entry; GtkSizeGroup *sg; GList *browsers = NULL; @@ -1299,13 +1300,14 @@ gaim_prefs_get_string("/gaim/gtk/browsers/command")); g_signal_connect(G_OBJECT(entry), "focus-out-event", G_CALLBACK(manual_browser_set), NULL); + gaim_set_accessible_label (entry, label); if (browsers != NULL) { vbox = gaim_gtk_make_frame (ret, _("Browser Options")); - label = gaim_gtk_prefs_checkbox(_("Open new _window by default"), - "/gaim/gtk/browsers/new_window", vbox); + checkbox = gaim_gtk_prefs_checkbox(_("Open new _window by default"), + "/gaim/gtk/browsers/new_window", + vbox); } - gaim_set_accessible_label (entry, label); gtk_widget_show_all(ret); return ret;