From 442ed02adb1d86a177b465fa656f2148a71230b1 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Mon, 25 Nov 2002 04:04:20 +0000 Subject: [ roll forward from the 1.2 branch. fixes #25540, part of #29630, as well 2002-11-23 Chris Toshok [ roll forward from the 1.2 branch. fixes #25540, part of #29630, as well as other selection issues in the contact editor and ACL issues in the ldap backend ] * backend/pas/pas-backend-ldap.c (check_schema_support): reset the schema check state to FALSE if the read returned nothing (and the user had not authenticated). we'll requery if/when they auth. (query_ldap_root_dse): free the schema dn before assigning over it. (pas_backend_ldap_connect): added a diagnostic warning about the root dse query failing in anonymous mode (if it in fact did fail.) (pas_backend_ldap_process_authenticate_user): if we successfully authed, requery the root dse to pick up any attributes that might be protected, and retry the schema query if that failed before. * gui/contact-editor/e-contact-editor.c (full_name_clicked): set the dialog's editable state based on the new field "fullname_editable", and only do the Ok button handling if this flag is TRUE. (full_addr_clicked): set the dialog's editable state based on the editable state for the particular address (from editor->address_editable[]). also, only do the Ok button handling if this flag is TRUE. (_address_arrow_pressed): use the address_editable array to determine whether the address text and the mailing address checkbutton are sensitive. (enable_writable_fields): figure out if fullname_editable is TRUE/FALSE, also, init the address_editable flags based on the field list, and handle the address checkbutton. * gui/contact-editor/fulladdr.glade: change the label names to label- to match {entry,combo}-. * gui/contact-editor/fullname.glade: same. * gui/contact-editor/e-contact-editor-fullname.c (e_contact_editor_fullname_class_init): rename ARG_IS_READ_ONLY to ARG_EDITABLE, to reflect the correct sense of the flag. (e_contact_editor_fullname_set_arg): same, and make the labels sensitive/insensitive depending on the editable state of the dialog. * gui/contact-editor/e-contact-editor-address.c (e_contact_editor_address_class_init): rename ARG_IS_READ_ONLY to ARG_EDITABLE, to reflect the correct sense of the flag. (e_contact_editor_address_set_arg): same, and make the labels sensitive/insensitive depending on the editable state of the dialog. svn path=/trunk/; revision=18910 --- addressbook/gui/contact-editor/fullname.glade | 1220 ++++++++++++++----------- 1 file changed, 670 insertions(+), 550 deletions(-) (limited to 'addressbook/gui/contact-editor/fullname.glade') diff --git a/addressbook/gui/contact-editor/fullname.glade b/addressbook/gui/contact-editor/fullname.glade index 04501b4bec..f890d2cb88 100644 --- a/addressbook/gui/contact-editor/fullname.glade +++ b/addressbook/gui/contact-editor/fullname.glade @@ -1,554 +1,674 @@ - + - - no - Check Full Name - GTK_WINDOW_TOPLEVEL - yes - yes - yes - GTK_WIN_POS_NONE - - - - no - 8 - yes - - - - GTK_BUTTONBOX_END - 8 - yes - - - - yes - yes - yes - gtk-ok - yes - yes - - - - - - yes - yes - yes - gtk-cancel - yes - yes - - - - - 0 - no - yes - GTK_PACK_END - - - - - - 8 - no - 6 - 21 - 5 - 3 - yes - - - - no - no - yes - no - yes - yes - - - - yes - yes - - 0 - yes - yes - - - - - - yes - - - - yes - - - - - 0.0 - yes - - - - - - - - yes - - - - Mr. - 0.0 - yes - - - - - - - - yes - - - - Mrs. - 0.0 - yes - - - - - - - - yes - - - - Ms. - 0.0 - yes - - - - - - - - yes - - - - Miss - 0.0 - yes - - - - - - - - yes - - - - Dr. - 0.0 - yes - - - - - - - - yes - - - - - 0.0 - yes - - - - - - - - - 1 - 2 - 0 - 1 - 0 - 0 - expand|fill - - - - - - - no - no - yes - no - yes - yes - - - - yes - yes - - 0 - yes - yes - - - - - - yes - - - - yes - - - - - 0.0 - yes - - - - - - - - yes - - - - Sr. - 0.0 - yes - - - - - - - - yes - - - - Jr. - 0.0 - yes - - - - - - - - yes - - - - I - 0.0 - yes - - - - - - - - yes - - - - II - 0.0 - yes - - - - - - - - yes - - - - III - 0.0 - yes - - - - - - - - yes - - - - Esq. - 0.0 - yes - - - - - - - - yes - - - - - 0.0 - yes - - - - - - - - - 1 - 2 - 4 - 5 - 0 - 0 - expand|fill - - - - - - - yes - yes - - 0 - yes - yes - - - 1 - 3 - 1 - 2 - 0 - 0 - expand|fill - - - - - - - yes - yes - - 0 - yes - yes - - - 1 - 3 - 2 - 3 - 0 - 0 - expand|fill - - - - - - - yes - yes - - 0 - yes - yes - - - 1 - 3 - 3 - 4 - 0 - 0 - expand|fill - - - - - - - _First: - GTK_JUSTIFY_CENTER - no - 0 - 0.5 - 0 - 0 - entry-first - yes - yes - - - 0 - 1 - 1 - 2 - 0 - 0 - fill - fill - - - - - - _Title: - GTK_JUSTIFY_CENTER - no - 0 - 0.5 - 0 - 0 - entry-title - yes - yes - - - 0 - 1 - 0 - 1 - 0 - 0 - fill - fill - - - - - - _Middle: - GTK_JUSTIFY_CENTER - no - 0 - 0.5 - 0 - 0 - entry-middle - yes - yes - - - 0 - 1 - 2 - 3 - 0 - 0 - fill - fill - - - - - - _Last: - GTK_JUSTIFY_CENTER - no - 0 - 0.5 - 0 - 0 - entry-last - yes - yes - - - 0 - 1 - 3 - 4 - 0 - 0 - fill - fill - - - - - - _Suffix: - GTK_JUSTIFY_CENTER - no - 0 - 0.5 - 0 - 0 - entry-suffix - yes - yes - - - 0 - 1 - 4 - 5 - 0 - 0 - fill - fill - - - - - 0 - yes - yes - - - - - 4 - yes - yes - - - + + + Check Full Name + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + True + True + False + True + + + + True + False + 8 + + + + True + GTK_BUTTONBOX_END + + + + True + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + 0 + + + + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + 0 + + + + + 0 + False + True + GTK_PACK_END + + + + + + 8 + True + 5 + 3 + False + 6 + 21 + + + + True + False + True + False + True + False + + + + True + True + True + True + 0 + + True + * + False + + + + + + True + GTK_SELECTION_BROWSE + + + + True + + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + + + + + + True + + + + True + Mr. + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + + + + + + True + + + + True + Mrs. + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + + + + + + True + + + + True + Ms. + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + + + + + + True + + + + True + Miss + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + + + + + + True + + + + True + Dr. + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + + + + + + True + + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + + + + + + + 1 + 2 + 0 + 1 + + + + + + + True + False + True + False + True + False + + + + True + True + True + True + 0 + + True + * + False + + + + + + True + GTK_SELECTION_BROWSE + + + + True + + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + + + + + + True + + + + True + Sr. + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + + + + + + True + + + + True + Jr. + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + + + + + + True + + + + True + I + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + + + + + + True + + + + True + II + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + + + + + + True + + + + True + III + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + + + + + + True + + + + True + Esq. + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + + + + + + True + + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + + + + + + + 1 + 2 + 4 + 5 + + + + + + + True + True + True + True + 0 + + True + * + False + + + 1 + 3 + 1 + 2 + + + + + + + True + True + True + True + 0 + + True + * + False + + + 1 + 3 + 2 + 3 + + + + + + + True + True + True + True + 0 + + True + * + False + + + 1 + 3 + 3 + 4 + + + + + + + True + _First: + True + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + entry-first + + + 0 + 1 + 1 + 2 + fill + fill + + + + + + True + _Title: + True + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + entry-title + + + 0 + 1 + 0 + 1 + fill + fill + + + + + + True + _Middle: + True + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + entry-middle + + + 0 + 1 + 2 + 3 + fill + fill + + + + + + True + _Last: + True + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + entry-last + + + 0 + 1 + 3 + 4 + fill + fill + + + + + + True + _Suffix: + True + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + entry-suffix + + + 0 + 1 + 4 + 5 + fill + fill + + + + + 0 + True + True + + + + + + -- cgit