2007-05-07 Murray Cumming <murrayc@murrayc.com>
authorMurray Cumming <murrayc@murrayc.com>
Mon, 7 May 2007 11:58:33 +0000 (11:58 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Mon, 7 May 2007 11:58:33 +0000 (11:58 +0000)
commitbb1d9974f850535acaa54862cf0e9a66cc019f31
treec13fd98bd86024e23551853a5307bb8986835f84
parentc89def271790afb63ea25003d08ce3cd8b971310
2007-05-07  Murray Cumming  <murrayc@murrayc.com>

* src/widgets/modest-window-mgr.c:
        * src/widgets/modest-window-mgr.h:
        Added modest_window_mgr_prevent_hibernation_while_window_is_shown() and
        modest_window_mgr_get_hibernation_is_prevented().

        * src/maemo/modest-main-window.c:
        (on_hildon_program_is_topmost_notify): Prevent hibernation
        (possible when the application goes to the background in the WM),
        if modest_window_mgr_get_hibernation_is_prevented() is TRUE.

        * src/maemo/easysetup/modest-easysetup-wizard.c:
        (modest_easysetup_wizard_dialog_init):
        * src/maemo/modest-account-settings-dialog.c:
        (modest_account_settings_dialog_init):
        * src/maemo/modest-connection-specific-smtp-edit-window.c:
        (modest_connection_specific_smtp_edit_window_init):
        * src/maemo/modest-connection-specific-smtp-window.c:
        (modest_connection_specific_smtp_window_init):
        * src/maemo/modest-signature-editor-dialog.c:
        (modest_signature_editor_dialog_init):
        Call modest_window_mgr_prevent_hibernation_while_window_is_shown() to
        prevent hibernation while any of these account settings dialogs are open.

pmo-trunk-r1768
ChangeLog2
src/maemo/easysetup/modest-easysetup-wizard.c
src/maemo/modest-account-settings-dialog.c
src/maemo/modest-connection-specific-smtp-edit-window.c
src/maemo/modest-connection-specific-smtp-window.c
src/maemo/modest-main-window.c
src/maemo/modest-signature-editor-dialog.c
src/widgets/modest-window-mgr.c
src/widgets/modest-window-mgr.h