Added support for opening the addressbook from the main window
[modest] / src / maemo / modest-platform.c
index cc30e48..ed0cf64 100644 (file)
@@ -840,3 +840,15 @@ modest_platform_show_search_messages (GtkWindow *parent_window)
                /* TODO: warning about error showing dialog */
        }
 }
+
+void 
+modest_platform_show_addressbook (GtkWindow *parent_window)
+{
+       osso_return_t result = OSSO_ERROR;
+       
+       result = osso_rpc_run_with_defaults (osso_context, "osso_addressbook", "top_application", NULL, DBUS_TYPE_INVALID);
+
+       if (result != OSSO_OK) {
+               /* TODO: warning about error showing dialog */
+       }
+}