Mercurial > pidgin.yaz
diff src/gtkutils.c @ 5688:e43e1b8dca8b
[gaim-migrate @ 6109]
Updating the protocol type now updates the fields in the modify account
dialog. Also, fixed a bug that caused an infinite loop.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 03 Jun 2003 05:33:46 +0000 |
parents | dae79aefac8d |
children | 1d140b31d4b3 |
line wrap: on
line diff
--- a/src/gtkutils.c Tue Jun 03 05:09:54 2003 +0000 +++ b/src/gtkutils.c Tue Jun 03 05:33:46 2003 +0000 @@ -571,9 +571,6 @@ menu = gtk_menu_new(); gtk_widget_show(menu); - g_signal_connect(G_OBJECT(optmenu), "changed", - G_CALLBACK(__protocol_menu_cb), cb); - sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); for (p = gaim_plugins_get_protocols(), i = 0; @@ -639,6 +636,9 @@ if (selected_index != -1) gtk_option_menu_set_history(GTK_OPTION_MENU(optmenu), selected_index); + g_signal_connect(G_OBJECT(optmenu), "changed", + G_CALLBACK(__protocol_menu_cb), cb); + g_object_unref(sg); return optmenu;