Mercurial > pidgin
changeset 8188:cd9ea20cd8ed
[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 <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 31 Jan 2004 00:29:34 +0000 |
parents | 32e68ef6d668 |
children | b75fa309b2c6 |
files | src/gtkprefs.c |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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;