comparison src/dialogs.c @ 2995:e27517a5c28e

[gaim-migrate @ 3008] OSCAR SSI for AIM only, until the ICQ kinks are worked out. Thanks, Mark Doliner. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 03 Mar 2002 02:53:46 +0000
parents 7239a392486c
children f42b738368bb
comparison
equal deleted inserted replaced
2994:60018f862a51 2995:e27517a5c28e
1041 label = gtk_label_new(_("Group")); 1041 label = gtk_label_new(_("Group"));
1042 gtk_table_attach_defaults(GTK_TABLE(table), label, 0, 1, 2, 3); 1042 gtk_table_attach_defaults(GTK_TABLE(table), label, 0, 1, 2, 3);
1043 1043
1044 a->combo = gtk_combo_new(); 1044 a->combo = gtk_combo_new();
1045 gtk_combo_set_popdown_strings(GTK_COMBO(a->combo), groups_tree(a->gc)); 1045 gtk_combo_set_popdown_strings(GTK_COMBO(a->combo), groups_tree(a->gc));
1046 if (group != NULL)
1047 gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(a->combo)->entry), group);
1048 gtk_table_attach_defaults(GTK_TABLE(table), a->combo, 1, 2, 2, 3); 1046 gtk_table_attach_defaults(GTK_TABLE(table), a->combo, 1, 2, 2, 3);
1049 1047
1050 /* Set up stuff for the account box */ 1048 /* Set up stuff for the account box */
1051 label = gtk_label_new(_("Add To")); 1049 label = gtk_label_new(_("Add To"));
1052 gtk_table_attach_defaults(GTK_TABLE(table), label, 0, 1, 3, 4); 1050 gtk_table_attach_defaults(GTK_TABLE(table), label, 0, 1, 3, 4);
1068 add = picture_button(a->window, _("Add"), add_xpm); 1066 add = picture_button(a->window, _("Add"), add_xpm);
1069 gtk_box_pack_end(GTK_BOX(bbox), add, FALSE, FALSE, 0); 1067 gtk_box_pack_end(GTK_BOX(bbox), add, FALSE, FALSE, 0);
1070 gtk_signal_connect(GTK_OBJECT(add), "clicked", GTK_SIGNAL_FUNC(do_add_buddy), a); 1068 gtk_signal_connect(GTK_OBJECT(add), "clicked", GTK_SIGNAL_FUNC(do_add_buddy), a);
1071 1069
1072 gtk_widget_show_all(a->window); 1070 gtk_widget_show_all(a->window);
1071 if (group != NULL)
1072 gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(a->combo)->entry), group);
1073 } 1073 }
1074 1074
1075 1075
1076 /*------------------------------------------------------------------------*/ 1076 /*------------------------------------------------------------------------*/
1077 /* The dialog for new buddy pounces */ 1077 /* The dialog for new buddy pounces */