* fix for NB#63391, where a notes-attachment would be opened in the browser instead
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Sat, 1 Sep 2007 11:43:50 +0000 (11:43 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Sat, 1 Sep 2007 11:43:50 +0000 (11:43 +0000)
commit6141e4a8010c5753ff21626f4283aab905392e3e
treefbcc06e3b755ec820953c30cc79be8a4389b555e
parent24de658285d6c5a3d71d36f1b96d2c906c6bc5e4
* fix for NB#63391, where a notes-attachment would be opened in the browser instead
  - code would make a temp file <random>.ext and ask the mime system to open that,
  however, it only took the *last* extension, so foo.notes.html would become
  <random>.html, and thus opened in browser
  - second, it would open with these funny random chars in the name
  - solution: we now make a temporary-directory (with random name), and save the
  attachment file there with it's real name
  - one issue remaining are attachments without a name.

* make #define hildon_foo --> osso_foo for the functions in modest-platform, so we can
  get rid of the ugly #ifdef blocks.

pmo-trunk-r3179
src/maemo/modest-hildon-includes.h
src/maemo/modest-maemo-utils.c
src/maemo/modest-maemo-utils.h
src/maemo/modest-msg-view-window.c
src/maemo/modest-platform.c
src/modest-init.c