* we were assuming that the source of a 'new folder' thing always
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Mon, 31 Dec 2007 10:03:32 +0000 (10:03 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Mon, 31 Dec 2007 10:03:32 +0000 (10:03 +0000)
commiteeab1fed238484308335d400bcc7c531a48571ed
tree5537b7d12eb5639f0303457654502ea5d2683ca6
parentd97d5d74a2454bd0cfb22397b4d39aa66776cf1d
* we were assuming that the source of a 'new folder' thing always
  was the main-window; however, it can also be the Move-To-Folder.
  if that was the case, we were crashing (even in sbox).

fixed this by checking for the source of the new-folder thing,
  and added a ptr to the internal ModestFolderView in the
  Move-To-Dialog as  a gobject parameter, so we can retrieve it
  later and set the focus correctly.

  One question remains: are there any other places where we show
  ModestFolderViews?

  Fixes: NB#78807

pmo-trunk-r3967
src/maemo/modest-main-window.c
src/modest-ui-actions.c