aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-04-08 01:42:48 +0800
committerChris Toshok <toshok@src.gnome.org>2003-04-08 01:42:48 +0800
commit20de2e68c1b3a233626d698790bf13d715283450 (patch)
tree245f95b1400271a5586c96957a682351e889ccdb /addressbook
parent748ceb78142f3c41d57d1c6ca877decc80e4013a (diff)
downloadgsoc2013-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')
-rw-r--r--addressbook/ChangeLog8
-rw-r--r--addressbook/gui/component/e-address-popup.c16
2 files changed, 18 insertions, 6 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index e5e62e31ec..67a61124d2 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,11 @@
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.
+
+2003-04-07 Chris Toshok <toshok@ximian.com>
+
+ [ last portion of #40046 fix ]
* gui/component/select-names/e-select-names-popup.c
(remove_recipient_cb): ifdef this out to quiet the compiler.
(remove_all_recipients_cb): same.
@@ -12,7 +18,7 @@
(e_select_names_populate_popup): we don't need the card, since we
don't check if it's a list here anymore. also, remove the #if 0
surrounding the nocard case.
-{
+
2003-04-07 Not Zed <NotZed@Ximian.com>
Fixes #40252.
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);