CVSROOT: /cvs/gnome Module name: gnome-keyring-manager Changes by: dcbw 06/04/03 11:46:09
Modified files: . : ChangeLog src : gnome-keyring-manager-attribute-display.c Log message: 2006-04-03 Dan Williams <[EMAIL PROTECTED]> Fix network attribute mishandling when a default attribute isn't present in the attribute list. For example, if the attribute list had no 'port', but the user modified the 'port' in gnome-keyring-manager, the 'user' attribute would be set instead. * src/gnome-keyring-manager-attribute-display.c - (gkm_attribute_display_init, network_password_update_page, gkm_attribute_display_clear, on_attribute_entry_changed): Replace usage of "NUM_ENTRIES - 3" with NON_PASSWORD_ENTRIES_MAX - (gkm_attribute_display_init): initialize mappings to -1 - (network_password_update_page): enable widgets for attributes that are present, and disable widgets for attributes that are not. Reset attribute to widget mapping when changing keyring entries, since not all entries have every default attribute. - (on_attribute_entry_changed): don't do anything for attributes which don't have a mapping, should we ever get here (widget should be disabled), and clean up function a bit URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-keyring-manager&who=dcbw&date=explicit&mindate=2006-04-03%2011:45&maxdate=2006-04-03%2011:47 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list