From da3893676be4c4de5478595c937875aacd6ba2cd Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Mon, 9 Jul 2007 08:50:13 +0000 Subject: [PATCH] * Fixes NB#60725 which affects systest, now an information note is shown instead of a information banner when notifying the user that an attachments has no registered viewer pmo-trunk-r2640 --- src/maemo/modest-platform.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/maemo/modest-platform.c b/src/maemo/modest-platform.c index ce260a2..685d6fc 100644 --- a/src/maemo/modest-platform.c +++ b/src/maemo/modest-platform.c @@ -351,20 +351,14 @@ modest_platform_activate_file (const gchar *path, const gchar *mime_type) con = osso_get_dbus_connection (osso_context); #ifdef MODEST_HAVE_OSSO_MIME result = osso_mime_open_file_with_mime_type (con, uri_path, mime_str->str); - g_string_free (mime_str, TRUE); - - if (result != 1) - hildon_banner_show_information (NULL, NULL, _("mcen_ni_noregistered_viewer")); - return result != 1; #else result = hildon_mime_open_file_with_mime_type (con, uri_path, mime_str->str); +#endif /*MODEST_HAVE_OSSO_MIME*/ g_string_free (mime_str, TRUE); if (result != 1) - hildon_banner_show_information (NULL, NULL, _("mcen_ni_noregistered_viewer")); + modest_platform_run_information_dialog (NULL, _("mcen_ni_noregistered_viewer")); return result != 1; -#endif /*MODEST_HAVE_OSSO_MIME*/ - } typedef struct { -- 1.7.9.5