Do not assume that account protocols will always return a settings dialog
authorSergio Villar Senín <svillar@igalia.com>
Thu, 26 Nov 2009 16:43:11 +0000 (17:43 +0100)
committerSergio Villar Senín <svillar@igalia.com>
Thu, 26 Nov 2009 16:43:11 +0000 (17:43 +0100)
commit117832661e004779dd794aa1b3ac9ed146ab3867
tree89381c0fd4109011311f9366b3e09682d60f03d2
parente64b14832b9abb4c9f36c3539dcd00552e771147
Do not assume that account protocols will always return a settings dialog

In some cases the account protocols could return NULL, for example if the dialog is already opened by other application

Helps to fix NB#129366
src/hildon2/modest-account-view-window.c
src/hildon2/modest-folder-window.c
src/modest-account-protocol.c
src/modest-tny-account-store.c