diff options
author | Chris Toshok <toshok@ximian.com> | 2003-04-08 01:42:48 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2003-04-08 01:42:48 +0800 |
commit | 20de2e68c1b3a233626d698790bf13d715283450 (patch) | |
tree | 245f95b1400271a5586c96957a682351e889ccdb /addressbook/gui | |
parent | 748ceb78142f3c41d57d1c6ca877decc80e4013a (diff) | |
download | gsoc2013-evolution-20de2e68c1b3a233626d698790bf13d715283450.tar.gz gsoc2013-evolution-20de2e68c1b3a233626d698790bf13d715283450.tar.zst gsoc2013-evolution-20de2e68c1b3a233626d698790bf13d715283450.zip |
change the ok/cancel button layout to be higified.
2003-04-07 Chris Toshok <toshok@ximian.com>
* gui/component/e-address-popup.c (mini_wizard_new): change the
ok/cancel button layout to be higified.
svn path=/trunk/; revision=20720
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/component/e-address-popup.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/addressbook/gui/component/e-address-popup.c b/addressbook/gui/component/e-address-popup.c index 7ccacd1769..b920fbf7ed 100644 --- a/addressbook/gui/component/e-address-popup.c +++ b/addressbook/gui/component/e-address-popup.c @@ -126,7 +126,7 @@ static MiniWizard * mini_wizard_new (void) { MiniWizard *wiz = g_new (MiniWizard, 1); - GtkWidget *hbox; + GtkWidget *bbox; wiz->body = gtk_vbox_new (FALSE, 2); wiz->vbox = gtk_vbox_new (FALSE, 2); @@ -140,13 +140,19 @@ mini_wizard_new (void) wiz->destroy_cb = NULL; wiz->destroy_closure = NULL; - hbox = gtk_hbox_new (FALSE, 2); - gtk_box_pack_start (GTK_BOX (hbox), wiz->ok_button, TRUE, FALSE, 2); - gtk_box_pack_start (GTK_BOX (hbox), wiz->cancel_button, TRUE, FALSE, 2); + bbox = gtk_hbutton_box_new (); + gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), + GTK_BUTTONBOX_END); + + gtk_box_pack_start (GTK_BOX (bbox), wiz->cancel_button, FALSE, TRUE, 0); + gtk_box_pack_start (GTK_BOX (bbox), wiz->ok_button, FALSE, TRUE, 0); + + gtk_box_set_spacing (GTK_BOX (bbox), + 10 /* ugh */); gtk_box_pack_start (GTK_BOX (wiz->body), wiz->vbox, TRUE, TRUE, 2); gtk_box_pack_start (GTK_BOX (wiz->body), gtk_hseparator_new (), FALSE, TRUE, 2); - gtk_box_pack_start (GTK_BOX (wiz->body), hbox, FALSE, TRUE, 2); + gtk_box_pack_start (GTK_BOX (wiz->body), bbox, FALSE, TRUE, 2); gtk_widget_show_all (wiz->body); |