* let the app have the official name
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Tue, 24 Apr 2007 13:13:47 +0000 (13:13 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Tue, 24 Apr 2007 13:13:47 +0000 (13:13 +0000)
* fix for API-change in osso-addressbook

pmo-trunk-r1650

src/maemo/modest-address-book.c
src/maemo/modest.desktop.in

index 3e76c39..835b968 100644 (file)
@@ -307,7 +307,11 @@ commit_contact(EContact * contact)
        if (!contact || !book)
                return;
 
        if (!contact || !book)
                return;
 
+#ifdef MODEST_HILDON_VERSION_0 
        osso_abook_contact_commit(contact, FALSE, book);
        osso_abook_contact_commit(contact, FALSE, book);
+#else
+       osso_abook_contact_commit(contact, FALSE, book, NULL);
+#endif /* MODEST_HILDON_VERSION_0 */
 }
 
 /**
 }
 
 /**
index ddd652e..fd0861d 100644 (file)
@@ -2,8 +2,8 @@
 Encoding=UTF-8
 Version=1.0
 Type=Application
 Encoding=UTF-8
 Version=1.0
 Type=Application
-Name=modest
-Comment=modest e-mail client
+Name=mcen_ap_name
+Comment=mcen_ap_name_thumb
 Exec=@prefix@/bin/modest
 
 #don't kill our app
 Exec=@prefix@/bin/modest
 
 #don't kill our app
@@ -17,3 +17,12 @@ X-Window-Icon-Dimmed=qgn_list_messagin
 StartupWMClass=modest
 
 MimeType=application/x-executable;
 StartupWMClass=modest
 
 MimeType=application/x-executable;
+
+#
+# below to be activated when dbus/send to functionality works
+#
+#X-Osso-URI-Actions=mailto
+#[X-Osso-URI-Action Handler mailto]
+#Methods=send_mailto
+#Name=uri_link_compose_email
+#TranslationDomain=osso-uri