diff src/dialogs.c @ 3795:7469dcf5ada5

[gaim-migrate @ 3935] Lalala committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Wed, 23 Oct 2002 05:29:12 +0000
parents 12b29552f1d7
children 9bcb42faccc0
line wrap: on
line diff
--- a/src/dialogs.c	Wed Oct 23 05:08:37 2002 +0000
+++ b/src/dialogs.c	Wed Oct 23 05:29:12 2002 +0000
@@ -1587,6 +1587,7 @@
 	int place = 0;
 	char buf[2048];
 
+
 	optmenu = gtk_option_menu_new();
 
 	menu = gtk_menu_new();
@@ -1629,6 +1630,8 @@
 	GtkWidget *frame;
 	GtkWidget *table;
 	GtkWidget *optmenu;
+	GtkWidget *sep;
+	GtkSizeGroup *sg;
 
 	struct addbp *b = g_new0(struct addbp, 1);
 	
@@ -1842,17 +1845,28 @@
 	gtk_box_pack_start(GTK_BOX(vbox), b->save, FALSE, FALSE, 0);
 	gtk_widget_show(b->save);
 
+	sep = gtk_hseparator_new();
+	gtk_box_pack_start(GTK_BOX(vbox), sep, FALSE, FALSE, 0);
+	gtk_widget_show(sep);
+	
 	bbox = gtk_hbox_new(FALSE, 5);
 	gtk_box_pack_start(GTK_BOX(vbox), bbox, FALSE, FALSE, 0);
 	gtk_widget_show(bbox);
 
-	button = picture_button(b->window, _("Cancel"), cancel_xpm);
+	sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
+
+	button = gaim_pixbuf_button_from_stock(_("_Create"), "gtk-execute", GAIM_BUTTON_HORIZONTAL);
+	gtk_size_group_add_widget(sg, button);
+	gtk_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(do_new_bp), b);
+	gtk_box_pack_end(GTK_BOX(bbox), button, FALSE, FALSE, 0);
+	gtk_widget_show(button);
+
+	button = gaim_pixbuf_button_from_stock(_("C_ancel"), "gtk-cancel", GAIM_BUTTON_HORIZONTAL);
+	gtk_size_group_add_widget(sg, button);
 	gtk_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(destroy_dialog), b->window);
 	gtk_box_pack_end(GTK_BOX(bbox), button, FALSE, FALSE, 0);
-
-	button = picture_button(b->window, _("OK"), ok_xpm);
-	gtk_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(do_new_bp), b);
-	gtk_box_pack_end(GTK_BOX(bbox), button, FALSE, FALSE, 0);
+	gtk_widget_show(button);
+
 
 	gtk_widget_show(b->window);
 }