+2007-06-07 Marcus Bauer <marcusb@openismus.com>
+
+ * src/dbus_api/modest-dbus-api.h:
+ changed MODEST_DBUS_NAME in order to get dbus auto-activation to work
+ * src/maemo/modest-msg-edit-window.c:
+ (modest_msg_edit_window_attach_file_noninteractive):
+ added g_warning in case the file to be attached does not exist
+ * tests/dbus_api/test_compose_mail.c: (main):
+ removed obsolete comment, added generic files as test case
+
2007-06-07 Murray Cumming <murrayc@murrayc.com>
* src/modest-tny-account-store.c: (get_server_accounts):
/* Note that the com.nokia service name and /com/nokia object name
* are what is assumed by the, bizarrely named, osso_rpc_run_with_defaults() function,
* so they are probably a good choice. */
-#define MODEST_DBUS_NAME "modestemail"
+#define MODEST_DBUS_NAME "modest"
#define MODEST_DBUS_SERVICE "com.nokia."MODEST_DBUS_NAME
#define MODEST_DBUS_OBJECT "/com/nokia/"MODEST_DBUS_NAME
#define MODEST_DBUS_IFACE "com.nokia."MODEST_DBUS_NAME
gtk_widget_show_all (priv->attachments_caption);
} else if (file_id == -1) {
close (file_id);
+ g_warning("file to be attached does not exist: %s", filename);
}
}
}
}
/* Call the function in libmodest-dbus-client: */
- /* TODO: The Message URI system is not yet implemented. */
- attachments = g_slist_append(attachments, "/home/m/MyDocs/bar1.txt,/home/m/MyDocs/foo.txt");
+ attachments = g_slist_append(attachments, "/usr/include/math.h,/usr/include/malloc.h");
const gboolean ret = libmodest_dbus_client_compose_mail (
osso_context,
- "marcusb@openismus.com", /* to */
+ "modesttest@openismus.com", /* to */
"cc test", /* cc */
"bcc test", /* bcc */
"test subject", /* subject */