aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnna Marie Dirks <anna@ximian.com>2003-05-19 23:50:45 +0800
committerAnna Dirks <anna@src.gnome.org>2003-05-19 23:50:45 +0800
commit13b45ed0d2161dedc7ba5764b25ed488dbff20cf (patch)
treeca844d639ffc01b6859dba1e42c60eb37051c53a
parent0a590f3a8505a6393730a26919a4adcbba2893a0 (diff)
downloadgsoc2013-evolution-13b45ed0d2161dedc7ba5764b25ed488dbff20cf.tar
gsoc2013-evolution-13b45ed0d2161dedc7ba5764b25ed488dbff20cf.tar.gz
gsoc2013-evolution-13b45ed0d2161dedc7ba5764b25ed488dbff20cf.tar.bz2
gsoc2013-evolution-13b45ed0d2161dedc7ba5764b25ed488dbff20cf.tar.lz
gsoc2013-evolution-13b45ed0d2161dedc7ba5764b25ed488dbff20cf.tar.xz
gsoc2013-evolution-13b45ed0d2161dedc7ba5764b25ed488dbff20cf.tar.zst
gsoc2013-evolution-13b45ed0d2161dedc7ba5764b25ed488dbff20cf.zip
Added HIG-appropriate HIG-appropriate spacing, padding, accelerators.
2003-05-19 Anna Marie Dirks <anna@ximian.com> * gui/contact-editor/e-contact-quick-add.c: Added HIG-appropriate HIG-appropriate spacing, padding, accelerators. Fixes bug #41210 svn path=/trunk/; revision=21254
-rw-r--r--addressbook/ChangeLog3
-rw-r--r--addressbook/gui/contact-editor/e-contact-quick-add.c16
2 files changed, 13 insertions, 6 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index a94420b4d6..a822a40dea 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,8 @@
2003-05-19 Anna Marie Dirks <anna@ximian.com>
+ * gui/contact-editor/e-contact-quick-add.c: Added HIG-appropriate
+ HIG-appropriate spacing, padding, accelerators. Fixes bug #41210
+
* gui/component/ldap-config.glade: HIG-ified the various dialogs
(including the settings pages, the config druid, and the edit dialog)
in this glade file. This fixes bugs #41140, #41137, #41130
diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.c b/addressbook/gui/contact-editor/e-contact-quick-add.c
index 1ad469a0ed..703996ee07 100644
--- a/addressbook/gui/contact-editor/e-contact-quick-add.c
+++ b/addressbook/gui/contact-editor/e-contact-quick-add.c
@@ -291,15 +291,15 @@ build_quick_add_dialog (QuickAdd *qa)
{
GtkWidget *dialog;
GtkTable *table;
- const gint xpad=1, ypad=1;
+ const gint xpad=6, ypad=6;
g_return_val_if_fail (qa != NULL, NULL);
dialog = gtk_dialog_new_with_buttons (_("Contact Quick-Add"),
NULL, /* XXX */
(GtkDialogFlags) 0,
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- _("Edit Full"), QUICK_ADD_RESPONSE_EDIT_FULL,
+ _("_Edit Full"), QUICK_ADD_RESPONSE_EDIT_FULL,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL);
@@ -316,22 +316,26 @@ build_quick_add_dialog (QuickAdd *qa)
table = GTK_TABLE (gtk_table_new (2, 2, FALSE));
- gtk_table_attach (table, gtk_label_new (_("Full Name")),
+ gtk_table_attach (table, gtk_label_new_with_mnemonic (_("_Full Name:")),
0, 1, 0, 1,
0, 0, xpad, ypad);
gtk_table_attach (table, qa->name_entry,
1, 2, 0, 1,
GTK_EXPAND | GTK_FILL, GTK_EXPAND, xpad, ypad);
- gtk_table_attach (table, gtk_label_new (_("E-mail")),
+ gtk_table_attach (table, gtk_label_new_with_mnemonic (_("E-_mail:")),
0, 1, 1, 2,
0, 0, xpad, ypad);
gtk_table_attach (table, qa->email_entry,
1, 2, 1, 2,
GTK_EXPAND | GTK_FILL, GTK_EXPAND, xpad, ypad);
+ gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox),
+ 6);
+
+ gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox),6);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox),
GTK_WIDGET (table),
- TRUE, TRUE, 0);
+ TRUE, TRUE, 6);
gtk_widget_show_all (GTK_WIDGET (table));