# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-AC_INIT([modest],[0.0.1],[http://maemo.org])
+AC_INIT([modest],[1.0],[http://maemo.org])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR(src/modest-main.c)
tests/Makefile
tests/dbus_api/Makefile
src/maemo/modest.desktop
-src/maemo/modest.service
+src/maemo/com.nokia.modest.service
libmodest-dbus-client/Makefile
libmodest-dbus-client/libmodest-dbus-client-1.0.pc
])
uidir = $(datadir)/modest/ui
ui_DATA = $(UI_FILES)
-serviceentry_DATA = modest.service
+serviceentry_DATA = com.nokia.modest.service
desktopentry_DATA = modest.desktop
icon_26x26_DATA = pixmaps/modest-icon.png
--- /dev/null
+[D-BUS Service]
+Name=com.nokia.modest
+Exec=@prefix@/bin/modest
gboolean
modest_platform_init (void)
-{
+{
+ osso_hw_state_t hw_state = { 0 };
osso_context =
- osso_initialize(PACKAGE, PACKAGE_VERSION,
- TRUE, NULL);
+ osso_initialize(PACKAGE,PACKAGE_VERSION,
+ FALSE, NULL);
if (!osso_context) {
g_printerr ("modest: failed to acquire osso context\n");
return FALSE;
*/
/* Register hardware event dbus callback: */
- osso_hw_set_event_cb(osso_context, NULL, modest_osso_cb_hw_state_handler, NULL);
+ hw_state.shutdown_ind = TRUE;
+ osso_hw_set_event_cb(osso_context, NULL,/*&hw_state*/ modest_osso_cb_hw_state_handler, NULL);
/* Register osso auto-save callbacks: */
result = osso_application_set_autosave_cb (osso_context,
[Desktop Entry]
Encoding=UTF-8
-Version=1.0
+Version=@PACKAGE_VERSION@
Type=Application
Name=mcen_ap_name
Comment=mcen_ap_name_thumb
Exec=@prefix@/bin/modest
-#don't kill our app
-#X-Osso-Service=org.maemo.modest
+X-Osso-Service=com.nokia.modest
X-Osso-Type=application/x-executable
Icon=qgn_list_messagin
+++ /dev/null
-[D-BUS Service]
-Name=org.maemo.modest
-Exec=@prefix@/bin/modest