Mercurial > pidgin.yaz
changeset 16287:776bf7979b4f
Line up the event-checkboxes in the pounce dialog.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 21 Apr 2007 13:59:28 +0000 |
parents | 5187395d6b78 |
children | 83bef7e6c410 |
files | finch/gntpounce.c |
diffstat | 1 files changed, 24 insertions(+), 24 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntpounce.c Fri Apr 20 19:14:04 2007 +0000 +++ b/finch/gntpounce.c Sat Apr 21 13:59:28 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. */