X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-signature-editor-dialog.c;h=acc9c6b95cb19809f46da28efcbc8314ecdb1270;hb=21b666ae007ad3d154fb0a081a43404529f57896;hp=005bc8d93f1234302dbef4e35f9655c5032cc93d;hpb=5ddf55d5203d0df352b0ccf55c43bbd948b92e14;p=modest diff --git a/src/maemo/modest-signature-editor-dialog.c b/src/maemo/modest-signature-editor-dialog.c index 005bc8d..acc9c6b 100644 --- a/src/maemo/modest-signature-editor-dialog.c +++ b/src/maemo/modest-signature-editor-dialog.c @@ -1,11 +1,12 @@ /* connection-specific-smtp-window.c */ #include "modest-signature-editor-dialog.h" -#include "maemo/modest-maemo-ui-constants.h" +#include "widgets/modest-ui-constants.h" #include "modest-hildon-includes.h" #include "widgets/modest-serversecurity-combo-box.h" #include "widgets/modest-secureauth-combo-box.h" #include "widgets/modest-validating-entry.h" +#include "modest-runtime.h" #include #include #include @@ -141,6 +142,11 @@ modest_signature_editor_dialog_init (ModestSignatureEditorDialog *self) gtk_widget_show (box); + + /* When this window is shown, hibernation should not be possible, + * because there is no sensible way to save the state: */ + modest_window_mgr_prevent_hibernation_while_window_is_shown ( + modest_runtime_get_window_mgr (), GTK_WINDOW (self)); } ModestSignatureEditorDialog*