comparison src/dialogs.c @ 981:7e231bc0018a

[gaim-migrate @ 991] I think I need a Pepsi. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 13 Oct 2000 07:24:40 +0000
parents 563c409e26a1
children baad64740daa
comparison
equal deleted inserted replaced
980:82c5865f7cfe 981:7e231bc0018a
1151 gc = find_gaim_conn_by_name(b->user->username); 1151 gc = find_gaim_conn_by_name(b->user->username);
1152 1152
1153 save_prefs(); 1153 save_prefs();
1154 1154
1155 if (gc) { 1155 if (gc) {
1156 g_snprintf(gc->user_info, sizeof(gc->user_info), "%s", junk);
1156 buf = g_malloc(strlen(junk) * 4); 1157 buf = g_malloc(strlen(junk) * 4);
1157 if (!buf) { 1158 if (!buf) {
1158 buf = g_malloc(1); 1159 buf = g_malloc(1);
1159 buf[0] = 0; 1160 buf[0] = 0;
1160 } 1161 }
1607 1608
1608 b->text = gtk_text_new(NULL, NULL); 1609 b->text = gtk_text_new(NULL, NULL);
1609 gtk_text_set_word_wrap(GTK_TEXT(b->text), TRUE); 1610 gtk_text_set_word_wrap(GTK_TEXT(b->text), TRUE);
1610 gtk_text_set_editable(GTK_TEXT(b->text), TRUE); 1611 gtk_text_set_editable(GTK_TEXT(b->text), TRUE);
1611 gtk_widget_set_usize(b->text, 350, 100); 1612 gtk_widget_set_usize(b->text, 350, 100);
1612 /* is this necessary? 1613 if (aim_users)
1613 if (users)
1614 gtk_text_insert(GTK_TEXT(b->text), NULL, NULL, NULL, 1614 gtk_text_insert(GTK_TEXT(b->text), NULL, NULL, NULL,
1615 ((struct aim_user *)users->data)->user_info, -1); 1615 ((struct aim_user *)aim_users->data)->user_info, -1);
1616 */
1617 1616
1618 gtk_widget_show(b->text); 1617 gtk_widget_show(b->text);
1619 1618
1620 gtk_box_pack_start(GTK_BOX(top), b->text, TRUE, TRUE, 10); 1619 gtk_box_pack_start(GTK_BOX(top), b->text, TRUE, TRUE, 10);
1621 gtk_widget_show(top); 1620 gtk_widget_show(top);