# HG changeset patch # User Rob Flynn # Date 958674018 0 # Node ID 62d470738cc799024f2f2831fec4eef05733bdba # Parent 633ec753fb1d7529fa7d254569e068d56e043f2b [gaim-migrate @ 246] Starting to clean up some UI stuff ... committer: Tailor Script diff -r 633ec753fb1d -r 62d470738cc7 src/dialogs.c --- a/src/dialogs.c Wed May 17 07:39:25 2000 +0000 +++ b/src/dialogs.c Thu May 18 18:20:18 2000 +0000 @@ -728,6 +728,8 @@ GtkWidget *bbox; GtkWidget *vbox; GtkWidget *topbox; + GtkWidget *frame; + struct addbuddy *a = g_new0(struct addbuddy, 1); a->window = gtk_window_new(GTK_WINDOW_DIALOG); @@ -742,9 +744,13 @@ /* Fix the combo box */ gtk_combo_set_popdown_strings(GTK_COMBO(a->combo), groups_tree()); /* Put the buttons in the box */ + gtk_box_pack_start(GTK_BOX(bbox), add, TRUE, TRUE, 10); gtk_box_pack_start(GTK_BOX(bbox), cancel, TRUE, TRUE, 10); + frame = gtk_frame_new(NULL); + gtk_frame_set_label(GTK_FRAME(frame), "Add Buddy"); + label = gtk_label_new("Add"); gtk_widget_show(label); gtk_box_pack_start(GTK_BOX(topbox), label, FALSE, FALSE, 5); @@ -781,9 +787,12 @@ gtk_widget_show(topbox); gtk_widget_show(bbox); gtk_widget_show(vbox); + gtk_widget_show(frame); gtk_window_set_title(GTK_WINDOW(a->window), "Gaim - Add Buddy"); gtk_window_set_focus(GTK_WINDOW(a->window), a->entry); - gtk_container_add(GTK_CONTAINER(a->window), vbox); + gtk_container_add(GTK_CONTAINER(frame), vbox); + gtk_container_add(GTK_CONTAINER(a->window), frame); + gtk_container_set_border_width(GTK_CONTAINER(a->window), 5); gtk_widget_realize(a->window); aol_icon(a->window->window);