changeset 16289:5f536fc60d14

merge of '8729bdb23df9db489717da7acedcec3ffe02469a' and 'b9b2646237a4c00fcaf09cd9de4eaa38266eb9b7'
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 21 Apr 2007 14:04:25 +0000
parents 3974d12a56ec (current diff) 83bef7e6c410 (diff)
children e6c33c3ca772
files
diffstat 1 files changed, 24 insertions(+), 24 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntpounce.c	Sat Apr 21 14:02:48 2007 +0000
+++ b/finch/gntpounce.c	Sat Apr 21 14:04:25 2007 +0000
@@ -285,7 +285,7 @@
 	PurpleGntPounceDialog *dialog;
 	GntWidget *window;
 	GntWidget *bbox;
-	GntWidget *hbox;
+	GntWidget *hbox, *vbox;
 	GntWidget *button;
 	GntWidget *combo;
 	GList *list;
@@ -366,6 +366,7 @@
 		gnt_entry_set_text(GNT_ENTRY(dialog->buddy_entry), name);
 	}
 
+	/* Create the event frame */
 	gnt_box_add_widget(GNT_BOX(window), gnt_line_new(FALSE));
 	gnt_box_add_widget(GNT_BOX(window), gnt_label_new_with_format(_("Pounce When Buddy..."), GNT_TEXT_FLAG_BOLD));
 
@@ -380,30 +381,29 @@
 	dialog->stop_typing = gnt_check_box_new(_("Stops typing"));
 	dialog->message_recv = gnt_check_box_new(_("Sends a message"));
 
-	hbox = gnt_hbox_new(FALSE);
-	gnt_box_set_pad(GNT_BOX(hbox), 2);
-	gnt_box_add_widget(GNT_BOX(hbox), dialog->signon);
-	gnt_box_add_widget(GNT_BOX(hbox), dialog->signoff);
-	gnt_box_add_widget(GNT_BOX(window), hbox);
-	hbox = gnt_hbox_new(FALSE);
-	gnt_box_set_pad(GNT_BOX(hbox), 2);
-	gnt_box_add_widget(GNT_BOX(hbox), dialog->away);
-	gnt_box_add_widget(GNT_BOX(hbox), dialog->away_return);
-	gnt_box_add_widget(GNT_BOX(window), hbox);
-	hbox = gnt_hbox_new(FALSE);
+	hbox = gnt_hbox_new(TRUE);
 	gnt_box_set_pad(GNT_BOX(hbox), 2);
-	gnt_box_add_widget(GNT_BOX(hbox), dialog->idle);
-	gnt_box_add_widget(GNT_BOX(hbox), dialog->idle_return);
-	gnt_box_add_widget(GNT_BOX(window), hbox);
-	hbox = gnt_hbox_new(FALSE);
-	gnt_box_set_pad(GNT_BOX(hbox), 2);
-	gnt_box_add_widget(GNT_BOX(hbox), dialog->typing);
-	gnt_box_add_widget(GNT_BOX(hbox), dialog->typed);
-	gnt_box_add_widget(GNT_BOX(window), hbox);
-	hbox = gnt_hbox_new(FALSE);
-	gnt_box_set_pad(GNT_BOX(hbox), 2);
-	gnt_box_add_widget(GNT_BOX(hbox), dialog->stop_typing);
-	gnt_box_add_widget(GNT_BOX(hbox), dialog->message_recv);
+
+	vbox = gnt_vbox_new(FALSE);
+	gnt_box_set_pad(GNT_BOX(vbox), 0);
+	gnt_box_add_widget(GNT_BOX(hbox), vbox);
+
+	gnt_box_add_widget(GNT_BOX(vbox), dialog->signon);
+	gnt_box_add_widget(GNT_BOX(vbox), dialog->away);
+	gnt_box_add_widget(GNT_BOX(vbox), dialog->idle);
+	gnt_box_add_widget(GNT_BOX(vbox), dialog->typing);
+	gnt_box_add_widget(GNT_BOX(vbox), dialog->stop_typing);
+
+	vbox = gnt_vbox_new(FALSE);
+	gnt_box_set_pad(GNT_BOX(vbox), 0);
+	gnt_box_add_widget(GNT_BOX(hbox), vbox);
+
+	gnt_box_add_widget(GNT_BOX(vbox), dialog->signoff);
+	gnt_box_add_widget(GNT_BOX(vbox), dialog->away_return);
+	gnt_box_add_widget(GNT_BOX(vbox), dialog->idle_return);
+	gnt_box_add_widget(GNT_BOX(vbox), dialog->typed);
+	gnt_box_add_widget(GNT_BOX(vbox), dialog->message_recv);
+
 	gnt_box_add_widget(GNT_BOX(window), hbox);
 
 	/* Create the "Action" frame. */