2007-04-23 Murray Cumming <murrayc@murrayc.com>
authorMurray Cumming <murrayc@murrayc.com>
Mon, 23 Apr 2007 20:15:02 +0000 (20:15 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Mon, 23 Apr 2007 20:15:02 +0000 (20:15 +0000)
commitaab65ff35930f7c7d33ec080ae179f09150fabe2
tree234084be195a8d9810aa3c31b47c0a40b2f2e23f
parent83a223bc55afa05813d769d2b118df66e3aa1d7a
2007-04-23  Murray Cumming  <murrayc@murrayc.com>

* src/widgets/modest-validating-entry.h:
        * src/widgets/modest-validating-entry.c: (on_insert_text),
        Added easysetup_validating_entry_set_max_func(), used to set a callback
        to call when the max number of characters is reached. GtkEntry has a max-length
        already but is silent about it.

        * src/maemo/easysetup/modest-easysetup-wizard.c: (on_entry_max),
        (create_page_account_details), (create_page_user_details),
        (create_account):
        * src/maemo/modest-account-settings-dialog.c: (on_entry_max),
        (create_page_account_details), (create_page_user_details),
        (create_page_outgoing):
        * src/modest-ui-actions.c: (modest_ui_actions_on_details):
        Use easysetup_validating_entry_set_max_func() to show the warning dialog, as per
        the UI spec, when the user tries to enter more than the max number of characters.

pmo-trunk-r1643
ChangeLog2
src/maemo/easysetup/modest-easysetup-wizard.c
src/maemo/modest-account-settings-dialog.c
src/modest-ui-actions.c
src/widgets/modest-validating-entry.c
src/widgets/modest-validating-entry.h