[evolution-patches] addressbook patch for #41210
- From: Anna Marie Dirks <anna ximian com>
- To: evolution-patches ximian com
- Subject: [evolution-patches] addressbook patch for #41210
- Date: 16 May 2003 18:25:02 -0400
Fixes the spacing/padding/button order of the Contact Quick Add dialog.
This corresponds to bug #41210.
Anna
--
Anna Marie Dirks <anna ximian com>
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1417
diff -u -u -w -r1.1417 ChangeLog
--- ChangeLog 16 May 2003 20:10:00 -0000 1.1417
+++ ChangeLog 16 May 2003 22:23:49 -0000
@@ -1,5 +1,8 @@
2003-05-16 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/contact-list-editor/contact-list-editor.glade: Added
HIG-appropriate spacing, padding, capitalization and accelerators.
Fixes bug #41254
Index: gui/contact-editor/e-contact-quick-add.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/contact-editor/e-contact-quick-add.c,v
retrieving revision 1.31
diff -u -u -w -r1.31 e-contact-quick-add.c
--- gui/contact-editor/e-contact-quick-add.c 7 Feb 2003 07:14:30 -0000 1.31
+++ gui/contact-editor/e-contact-quick-add.c 16 May 2003 22:23:49 -0000
@@ -291,15 +291,15 @@
{
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,
+ _("_Edit Full"), QUICK_ADD_RESPONSE_EDIT_FULL,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- _("Edit Full"), QUICK_ADD_RESPONSE_EDIT_FULL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL);
@@ -316,22 +316,26 @@
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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]