changeset 236:62d470738cc7

[gaim-migrate @ 246] Starting to clean up some UI stuff ... committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Thu, 18 May 2000 18:20:18 +0000
parents 633ec753fb1d
children 6ced2f1c8b24
files src/dialogs.c
diffstat 1 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);