2007-05-07 Murray Cumming <murrayc@murrayc.com>
[modest] / ChangeLog2
1 2007-05-07  Murray Cumming  <murrayc@murrayc.com>
2
3         * src/widgets/modest-window-mgr.c: 
4         * src/widgets/modest-window-mgr.h:
5         Added modest_window_mgr_prevent_hibernation_while_window_is_shown() and
6         modest_window_mgr_get_hibernation_is_prevented().
7         
8         * src/maemo/modest-main-window.c:
9         (on_hildon_program_is_topmost_notify): Prevent hibernation 
10         (possible when the application goes to the background in the WM), 
11         if modest_window_mgr_get_hibernation_is_prevented() is TRUE.
12         
13         * src/maemo/easysetup/modest-easysetup-wizard.c:
14         (modest_easysetup_wizard_dialog_init):
15         * src/maemo/modest-account-settings-dialog.c:
16         (modest_account_settings_dialog_init):
17         * src/maemo/modest-connection-specific-smtp-edit-window.c:
18         (modest_connection_specific_smtp_edit_window_init):
19         * src/maemo/modest-connection-specific-smtp-window.c:
20         (modest_connection_specific_smtp_window_init):
21         * src/maemo/modest-signature-editor-dialog.c:
22         (modest_signature_editor_dialog_init):
23         Call modest_window_mgr_prevent_hibernation_while_window_is_shown() to 
24         prevent hibernation while any of these account settings dialogs are open.
25
26 2007-05-04  Murray Cumming  <murrayc@murrayc.com>
27
28         * src/maemo/Makefile.am:
29         * src/maemo/modest-osso-state-saving.c: 
30         * src/maemo/modest-osso-state-saving.h: Added 
31         modest_osso_load_state() and modest_osso_save_state() though they do 
32         nothing now. They should iterate through all the open windows and load/save 
33         their state.
34         * src/modest-ui-actions.c: (modest_ui_actions_on_quit): For Mameo, 
35         save state when closing.
36         
37         * src/maemo/modest-main-window.c:
38         (on_hildon_program_is_topmost_notify), (modest_main_window_new):
39         Add a notification handler for the HildonProgram::is-topmost property, 
40         so we can allow hibernation when the application goes into the background.
41         But we still need to detect when the accounts setup windows are open so 
42         we can stop hibernation when they are open.
43         To do this, I also added the main window the HildonProgram. This might have 
44         other side-effects/benefits, and should maybe be done for other windows.
45
46         * src/maemo/modest-osso-autosave-callbacks.h:
47         * src/maemo/modest-osso-autosave-callbacks.c:
48         (modest_on_osso_application_autosave): Add a libosso auto-save callback, 
49         though it does not do anything yet, and we might never need this to do 
50         anything. For instance, we already save drafts.
51         
52         * src/maemo/modest-platform.c: (modest_platform_init):
53         Specify the libosso auto-save callback.
54
55 2007-05-03  Murray Cumming  <murrayc@murrayc.com>
56
57         * src/maemo/modest-platform.c:
58         (modest_platform_set_update_interval):
59         * src/modest-defs.h: Store the alarmd cookie ID in gconf, because it 
60         aparently stays valid between application instances, so we can use this 
61         to remove and reset it later. According to a maemo-developers email from 
62         David Weinehall.
63
64 2007-05-03  Murray Cumming  <murrayc@murrayc.com>
65
66         * configure.ac: Depend on libalarm for Maemo.
67
68         * src/dbus_api/modest-dbus-api.h:
69         * src/dbus_api/modest-dbus-callbacks.c: (on_idle_send_receive),
70         (on_send_receive), (modest_dbus_req_handler):
71         Handle a SEND_RECEIVE D-Bus method.
72         
73         * libmodest-dbus-client/libmodest-dbus-client.c:
74         (libmodest_dbus_client_send_and_receive):
75         * libmodest-dbus-client/libmodest-dbus-client.h:
76         Add C convenience functions for calling the new D-Bus method.
77         
78         * src/modest-platform.h:
79         * src/gnome/modest-platform.c:
80         * src/maemo/modest-platform.c: 
81         Added modest_platform_set_update_interval(), which uses the 
82         alarmd API on Maemo.
83         (modest_platform_init),
84         Call modest_platform_set_update_interval(), using a hard-coded 
85         interval for now (until the global settings dialog is implemented), 
86         though I am not sure that this makes sense yet.
87
88 2007-05-02  Murray Cumming  <murrayc@murrayc.com>
89
90         * src/dbus_api/modest-dbus-callbacks.c:
91         (modest_osso_cb_hw_state_handler):
92         * src/dbus_api/modest-dbus-callbacks.h:
93         * src/maemo/modest-platform.c: (modest_platform_init):
94         Registered (empty) callbacks for the osso hardware state D-Bus signals, 
95         in case this has some effect on the ability for Maemo to ping the 
96         application.
97
98 2007-05-02  Murray Cumming  <murrayc@murrayc.com>
99
100         * src/modest-text-utils.c: (modest_text_utils_validate_recipient):
101         Comment out an if() that checks a gchar for < 0, causing a build-breaking 
102         warning. It is probably a logic error, but I need to fix the build.
103
104 2007-05-02  Murray Cumming  <murrayc@murrayc.com>
105
106         * src/modest-account-mgr.h:
107         * src/modest-account-mgr.c: 
108         (modest_account_mgr_account_names): Add a gboolean enabled_only 
109         parameter, so we can get lists of onlt the enabled accounts.
110         
111         (modest_account_mgr_add_account),,
112         (modest_account_mgr_account_with_display_name_exists):
113         * src/maemo/modest-msg-edit-window.c: (get_transports):
114         * src/modest-account-mgr-helpers.c:
115         (modest_account_mgr_set_first_account_as_default):
116         * src/modest-init.c: (init_default_account_maybe):
117         * src/modest-tny-account-store.c: (get_accounts):
118         * src/modest-ui-actions.c: (modest_ui_actions_on_accounts),
119         (do_send_receive_auto), (modest_ui_actions_on_send_receive):
120         * tests/check_account-mgr.c: (START_TEST):
121         Provide the extra parameter, as appropriate.
122         
123         * src/widgets/modest-account-view.c: (update_account_view):
124         Do not show disabled accounts (meaning that there is no way to 
125         enable/disable accounts in the UI (the feature is not in our UI 
126         specification), so we can use this internally only to mark unfinished 
127         or temporary account data.
128         
129         * src/maemo/easysetup/modest-easysetup-wizard.c:
130         (create_account): Add boolean enable parameter, so we can specify FALSE 
131         to create the temporary account.
132         (on_button_edit_advanced_settings): Create the temporary account as disabled.
133         (on_before_next): When finishing, when there is a temporary account, just 
134         set it as enabled.
135         Also, use a timeout to delay the showing of the dialog until gconf is likely 
136         to return correct information, due to a maemo gconf bug that is fixed in 
137         osso 1.1, but not yet in Bora.
138         However, the dialog stays on screen after it is destroyed.
139         
140         * src/maemo/modest-account-settings-dialog.c: on_response(): Do not check 
141         for invalid data when cancelling. Use a hildon note instead of a dialog 
142         to complain about invalid data. Do not show the account-saved note if the 
143         account is disabled (a temporary account that will not really be saved for use 
144         until later.)
145
146 2007-04-30  Murray Cumming  <murrayc@murrayc.com>
147
148         * src/modest-account-mgr-helpers.h:
149         * src/modest-account-mgr-helpers.c:
150         Added modest_account_mgr_unset_default_account(),
151         Added modest_account_mgr_set_first_account_as_default().
152
153         * src/modest-account-mgr.c: (modest_account_mgr_remove_account): 
154         If it was the default account, unset the default account name.
155         
156         * src/maemo/modest-account-view-window.c:
157         (on_delete_button_clicked): If it was the default account, 
158         set the first remaining account as the default instead.
159         
160         * src/maemo/modest-main-window.c: (on_account_update): Do not try to use 
161         a NULL account or a NULL default account, to prevent a crash. This should 
162         not happen now anyway. Bug #55343 in projects.maemo.org/bugzilla.
163         
164
165 2007-04-30  Murray Cumming  <murrayc@murrayc.com>
166
167         * src/widgets/modest-recpt-editor.c:
168         (modest_recpt_editor_on_key_press_event): Put an #ifdef around the 
169         use of gtk_text_buffer_get_has_selection() (from GTK+ 2.10), and add a 
170         TODO comment for this. This fixes the build.
171         
172         * src/modest-ui-actions.c: Add do_send_receive(), though it might not 
173         be the best place for it. This will in future update all auto-update accounts, 
174         rather than just the current/default account, when that gconf key exists.
175         (modest_ui_actions_on_send_receive): Offer the settings dialog (or wizard) 
176         if there are no accounts, before calling do_send_receive().
177         * src/modest-ui-actions.h: Specify the callback for the Send/Recieve menu item.
178         
179         * src/gnome/modest-main-window.c: (on_online_toggle_toggled):
180         * src/maemo/modest-main-window-ui.h:
181         * src/maemo/modest-main-window.c: (on_connection_changed),
182         (sync_accounts_cb): Use do_send_receive() instead of calling the signal handler 
183         directly, becaue the signal handler does more.
184
185 2007-04-30  Murray Cumming  <murrayc@murrayc.com>
186
187         * src/modest-account-mgr-helpers.c:
188         (modest_account_mgr_get_account_data): Add a more helpful error message, and comment, 
189         for the case that the account does not exist.
190         
191         * src/widgets/modest-folder-view.c: (filter_row): Use the tinymail account ID 
192         (equivalent to the modest account name) rather than the tinymail account name 
193         (equivalent to the modest account title - human readable) to get the account data.
194         Check for null account data to prevent the crash, and add a TODO comment saying that 
195         this needs fixing because it is using the server account name instead of the account name.
196
197 2007-04-29  Murray Cumming  <murrayc@murrayc.com>
198
199         * src/maemo/easysetup/modest-easysetup-wizard.c: (show_error):
200         * src/maemo/modest-account-settings-dialog.c: (show_error),
201         (show_ok):
202         Use hildon_note_new_information() for informative and error messages, 
203         which seems to be expected for Maemo applications (no documentation that I know of 
204         says this). I am surprised that there is no distinction between info and error 
205         dialogs.
206
207 2007-04-29  Murray Cumming  <murrayc@murrayc.com>
208
209         * src/maemo/modest-maemo-ui-constants.h: Add a MODEST_MARGIN_NONE constant, so 
210         it is easy to find where this is used.
211         
212         * src/maemo/easysetup/modest-easysetup-wizard.c:
213         (create_page_welcome), (create_page_account_details),
214         (create_page_user_details), (create_page_complete_easysetup),
215         (create_page_custom_incoming), (create_page_custom_outgoing),
216         (create_page_complete_custom):
217         * src/maemo/modest-account-settings-dialog.c:
218         (create_page_account_details), (create_page_user_details),
219         (create_page_incoming), (create_page_outgoing):
220         * src/maemo/modest-account-view-window.c: (window_vbox_new):
221         * src/maemo/modest-connection-specific-smtp-edit-window.c:
222         (modest_connection_specific_smtp_edit_window_init):
223         * src/maemo/modest-connection-specific-smtp-window.c:
224         (modest_connection_specific_smtp_window_init):
225         * src/maemo/modest-signature-editor-dialog.c:
226         (modest_signature_editor_dialog_init): Use the correct padding/spacing/borders 
227         and scrolling policy as per the Email Application Layout Guide, if I have 
228         understood it.
229
230 2007-04-27  Murray Cumming  <murrayc@murrayc.com>
231
232         * src/modest-tny-account-store.c: (modest_tny_account_store_init): 
233         Remove the add_transport_account_func and add_store_account_func vfunc implementations, 
234         which were empty, because these vfuncs have been removed from TnyAccountStore.
235         This fixes the build.
236
237 2007-04-27  Murray Cumming  <murrayc@murrayc.com>
238
239         * src/maemo/modest-main-window.c:
240         (modest_main_window_show_toolbar): Check that a toolbar item is not NULL before 
241         showing/hiding it. Added TODO because it probably should not be NULL.
242         * src/modest-init.c: (modest_init_init_ui): Use a g_message() instead of a g_warning() 
243         because unnecessary g_warnings() make degugging difficult.
244
245 2007-04-27  Murray Cumming  <murrayc@murrayc.com>
246
247         * src/maemo/modest-msg-edit-window.c:
248         (modest_msg_edit_window_select_color),
249         (modest_msg_edit_window_select_background_color): 2 const corrections and 
250         moving 2 #endifs before closing brackets, to fix the build.
251
252 2007-04-27  Murray Cumming  <murrayc@murrayc.com>
253
254         * src/maemo/easysetup/modest-easysetup-wizard.h:
255         * src/maemo/easysetup/modest-easysetup-wizard.c:
256         (modest_easysetup_wizard_dialog_finalize),
257         (on_button_edit_advanced_settings), (create_page_complete_custom),
258         (on_response), (create_account):
259         Implement the Advanced Settings edit button, by saving the account information, 
260         for the Advanded Settings dialog to use directly from gconf, and removing it 
261         if Finish is never clicked. There is still some UI strangeness, so this is not finished.
262         Bug #5533 in the projects.maemo.org bugzilla.
263
264 2007-04-27  Murray Cumming  <murrayc@murrayc.com>
265
266         * src/maemo/modest-msg-view-window.c:
267         (modest_msg_view_window_show_toolbar): Prevent hide/show of a NULL toolbar widget, 
268         when opening a message window.
269
270 2007-04-27  Murray Cumming  <murrayc@murrayc.com>
271
272         * src/maemo/easysetup/modest-easysetup-wizard.c:
273         (create_page_custom_outgoing): Correct the position of the horizontal separator to 
274         match the UI spec.
275         
276         * src/maemo/modest-main-window.c: (set_toolbar_mode): Check that widgets are not NULL 
277         before showing/hiding them, to avoid a crash when clicking on folders when there are no 
278         gconf settings. I probably added more checks than necessary, but that is safer.
279         
280         * src/modest-ui-actions.c: (modest_ui_actions_on_move_to): Initialize the mail_op 
281         variable to fix the build, but this seems to be used when it is still NULL.
282
283 2007-04-27  Murray Cumming  <murrayc@murrayc.com>
284
285         * src/modest-platform.h:
286         * src/gnome/modest-platform.c: (modest_platform_connect_and_wait):
287         * src/maemo/modest-platform.c: (modest_platform_connect_and_wait):
288         * src/modest-main.c: Implement this function so we can avoid using 
289         maemo-specific API from cross-platform code.
290         (main):
291         * src/modest-tny-account-store.c:
292         (get_smtp_specific_transport_account_for_open_connection):
293         * src/modest-ui-actions.c: (check_for_connection),
294         (modest_ui_actions_on_item_not_found):
295         Use modest_platform_connect_and_wait() and put #idefs around other 
296         maemo-specific code, because only maemo currently has a way to 
297         identify connection names.
298
299 2007-04-27  Murray Cumming  <murrayc@murrayc.com>
300
301         * src/modest-tny-account-store.h:
302         * src/modest-tny-account-store.c:
303         Added modest_tny_account_store_get_transport_account_for_open_connection(), which respects 
304         the connection-specific SMTP server settings in the configuration.
305         
306         * src/dbus_api/modest-dbus-callbacks.c: (on_idle_send_mail),
307         (on_idle_mail_to):
308         * src/maemo/modest-main-window.c: (on_connection_changed),
309         (connect_signals):
310         * src/modest-main.c: (main), (start_ui), (send_mail):
311         Use tny_maemo_conic_device_connect() instead of tny_maemo_conic_force_online(), when 
312         that is what is intended.
313         
314         * src/modest-ui-actions.c: (action_send), (action_receive),
315         (modest_ui_actions_on_item_not_found), (modest_ui_actions_on_send):
316         Use modest_tny_account_store_get_transport_account_for_open_connection() instead of 
317         modest_tny_account_store_get_tny_account_by_account() so that the connection-specific 
318         SMTP server is used when it is specified.
319         
320         (modest_ui_actions_on_send_receive): 
321         Check that a connection is open before proceeding.
322         Receive and then send, instead of vice-versa, as per the specification.
323
324 2007-04-26  Murray Cumming  <murrayc@murrayc.com>
325
326         * src/modest-mail-operation.c:
327         (modest_mail_operation_remove_folder): Intialize the parent variable, to fix the build, 
328         though I guess it should be something other than NULL.
329
330 2007-04-26  Murray Cumming  <murrayc@murrayc.com>
331
332         * src/maemo/easysetup/modest-easysetup-wizard.c:
333         (create_page_custom_incoming): Add the checkbox to the caption instead of adding the 
334         combo twice, to avoid an g_warning and to make it visible again.
335         * src/maemo/modest-main-window.c: (on_account_update): Check whether the popup_menu is 
336         attached before detaching it, to avoid a g_warning, and add comment about the implicit 
337         (already intended) dereference when detaching, because we then recreate the menu.
338         But I am not sure why the warning was happening, and it is possible that this is a memory 
339         leak.
340
341 2007-04-25  Murray Cumming  <murrayc@murrayc.com>
342
343         * src/dbus_api/modest-dbus-callbacks.c: Added uri_unescape(),
344         and uri_parse_mailto() utility functions.
345         (on_idle_mail_to): Parse, unescape, and use the subject, cc, bcc, and body items in 
346         the mailto URI.
347         * tests/dbus_api/test_mail_to.c: (main): Add escaped spaces in the URI to test this.
348
349 2007-04-24  Murray Cumming  <murrayc@murrayc.com>
350
351         * src/dbus_api/modest-dbus-api.h:
352         * src/dbus_api/modest-dbus-callbacks.c:
353         Use an idle callback to execute the modest code in the application's own thread.
354         Remove the helloworld example method.
355         Handle mail-to and open-message D-Bus methods, though the mail-to format needs to be 
356         parsed, and the open-message method is not implemented because this is not yet implemented in 
357         modest itself.
358         * libmodest-dbus-client/libmodest-dbus-client.c:
359         (libmodest_dbus_client_send_mail), (libmodest_dbus_client_mail_to),
360         (libmodest_dbus_client_open_message):
361         * libmodest-dbus-client/libmodest-dbus-client.h: New functions for the new methods.
362         
363         * src/modest-tny-msg.c: (modest_tny_msg_new), (add_body_part): Handle NULLs for subject and 
364         body without crashing.
365         
366         * tests/dbus_api/Makefile.am:
367         * tests/dbus_api/test_mail_to.c:
368         * tests/dbus_api/test_open_message.c: New tests for the new methods.
369
370 2007-04-24  Murray Cumming  <murrayc@murrayc.com>
371
372         * libmodest-dbus-client/libmodest-dbus-client-1.0.pc.in:
373         Added file to fix the build. Sorry.
374         
375         * src/dbus_api/Makefile.am:
376         * src/dbus_api/modest-dbus-api.h:
377         * src/dbus_api/modest-dbus-callbacks.h:
378         * src/dbus_api/modest-dbus-callbacks.c: (on_send_mail),
379         (modest_dbus_req_handler):
380         Put constants in a separate header so it can be reused by the 
381         client library, without duplication
382         
383         * libmodest-dbus-client/Makefile.am:
384         * libmodest-dbus-client/libmodest-dbus-client.c:
385         (libmodest_dbus_client_call_helloworld),
386         (libmodfest_dbus_client_send_mail),
387         (libmodfest_dbus_client_mailto),
388         (libmodfest_dbus_client_open_message):
389         * libmodest-dbus-client/libmodest-dbus-client.h:
390         (Partly) Implement a send_mail D-Bus method.
391         
392         * tests/dbus_api/Makefile.am:
393         * tests/dbus_api/test_send_mail.c: (main): Added a test for 
394         the send_email D-Bus method.
395
396 2007-04-24  Murray Cumming  <murrayc@murrayc.com>
397
398         * Makefile.am:
399         * configure.ac:
400         * libmodest-dbus-client/Makefile.am:
401         * libmodest-dbus-client/libmodest-dbus-client.c:
402         * libmodest-dbus-client/libmodest-dbus-client.h:
403         * tests/dbus_api/Makefile.am:
404         * tests/dbus_api/test_hello.c: (main): Added directory structure for a C convenience library 
405         for using the modest D-Bus API, and used that from the test. It is still just a helloworld.
406
407 2007-04-24  Murray Cumming  <murrayc@murrayc.com>
408
409         * src/maemo/easysetup/modest-easysetup-wizard.c:
410         (create_page_account_details):
411         * src/maemo/modest-account-settings-dialog.c:
412         (create_page_account_details): Explicitly set auto-capitalization mode for the title 
413         widgets, because this might not be the default in future versions of the Maemo GTK+. 
414         However, I can not not get capitalization to work even in a simple test case.
415
416 2007-04-24  Murray Cumming  <murrayc@murrayc.com>
417
418         * src/maemo/easysetup/modest-easysetup-wizard.c:
419         (create_page_custom_incoming), (create_page_custom_outgoing):
420         * src/maemo/modest-account-settings-dialog.c:
421         (create_page_account_details), (create_page_incoming),
422         (create_page_outgoing): Use a separate label in a caption for GtkCheckButtons, 
423         instead of using gtk_check_button_with_label(), so they are aligned like the other 
424         widgets, as per the UI spec.
425
426 2007-04-24  Murray Cumming  <murrayc@murrayc.com>
427
428         * src/maemo/easysetup/modest-easysetup-wizard.c:
429         * src/maemo/modest-connection-specific-smtp-edit-window.c:
430         * src/widgets/modest-validating-entry.c:
431         * src/widgets/modest-validating-entry.h: Rename the validating widget so it has a 
432         Modest prefix instead of an EasySetup prefix.
433
434 2007-04-23  Murray Cumming  <murrayc@murrayc.com>
435
436         * src/widgets/modest-validating-entry.h:
437         * src/widgets/modest-validating-entry.c: (on_insert_text),
438         Added easysetup_validating_entry_set_max_func(), used to set a callback 
439         to call when the max number of characters is reached. GtkEntry has a max-length 
440         already but is silent about it.
441
442         * src/maemo/easysetup/modest-easysetup-wizard.c: (on_entry_max),
443         (create_page_account_details), (create_page_user_details),
444         (create_account):
445         * src/maemo/modest-account-settings-dialog.c: (on_entry_max),
446         (create_page_account_details), (create_page_user_details),
447         (create_page_outgoing):
448         * src/modest-ui-actions.c: (modest_ui_actions_on_details): 
449         Use easysetup_validating_entry_set_max_func() to show the warning dialog, as per 
450         the UI spec, when the user tries to enter more than the max number of characters.
451
452 2007-04-23  Murray Cumming  <murrayc@murrayc.com>
453
454         * src/maemo/easysetup/modest-easysetup-wizard.c:
455         (create_page_user_details), (create_page_custom_incoming),
456         (create_page_custom_outgoing):
457         * src/maemo/modest-account-settings-dialog.c:
458         (create_page_user_details), (create_page_incoming),
459         (create_page_outgoing):
460         * src/maemo/modest-connection-specific-smtp-edit-window.c:
461         (modest_connection_specific_smtp_edit_window_init):
462         Use hildon_gtk_entry_set_input_mode() to turn off auto-capitalization where it is 
463         not appropriate. Bad Maemo-specific defaults!.
464
465 2007-04-23  Murray Cumming  <murrayc@murrayc.com>
466
467         * src/maemo/modest-signature-editor-dialog.c: (enable_widgets),
468         (on_toggle_button_changed), (modest_signature_editor_dialog_init),
469         (modest_signature_editor_dialog_set_settings): 
470         Disable the label and textview when the checkbox is disabled, and use the 
471         specified (UI spec) default signature text.
472
473 2007-04-23  Murray Cumming  <murrayc@murrayc.com>
474
475         * src/maemo/modest-connection-specific-smtp-edit-window.c:
476         (modest_connection_specific_smtp_edit_window_init): Use spacing constants.
477         
478         * src/modest-defs.h:
479         * src/modest-account-mgr-helpers.h:
480         * src/modest-account-mgr-helpers.c:
481         Added modest_account_mgr_get/set_signature(), using new gconf keys.
482         
483         * src/maemo/Makefile.am:
484         * src/maemo/modest-signature-editor-dialog.c:
485         * src/maemo/modest-signature-editor-dialog.h: New dialog for editing signatures, 
486         as per the UI spec.
487         
488         * src/maemo/modest-account-settings-dialog.h:
489         * src/maemo/modest-account-settings-dialog.c:
490         (modest_account_settings_dialog_finalize), (on_button_signature),
491         (save_configuration): Use the new dialog when the Edit button is pressed, and 
492         save the changes if necessary, as per the UI spec.
493
494 2007-04-23  Murray Cumming  <murrayc@murrayc.com>
495
496         * src/maemo/Makefile.am:
497         * src/maemo/modest-maemo-ui-constants.h: New header with some defines for widget spacing, 
498         based on maemo-develoers email from Dirk.
499         
500         * src/maemo/easysetup/modest-easysetup-wizard.c:
501         (create_page_welcome), (create_page_account_details),
502         (create_page_user_details), (create_page_complete_easysetup),
503         (create_page_custom_incoming), (create_page_custom_outgoing),
504         (create_page_complete_custom),
505         (modest_easysetup_wizard_dialog_init):
506         * src/maemo/modest-account-settings-dialog.c:
507         (create_page_account_details), (create_page_user_details),
508         (create_page_incoming), (create_page_outgoing),
509         (modest_account_settings_dialog_init):
510         * src/maemo/modest-connection-specific-smtp-window.c:
511         (modest_connection_specific_smtp_window_init): Used the smallest of the spacing constants.
512
513 2007-04-23  Murray Cumming  <murrayc@murrayc.com>
514
515         * src/maemo/easysetup/modest-easysetup-wizard.c:
516         (create_page_account_details), (create_page_custom_outgoing),
517         (create_page_complete_custom):
518         * src/maemo/modest-account-settings-dialog.c:
519         (create_page_user_details), (create_page_incoming),
520         (create_page_outgoing):
521         * src/maemo/modest-connection-specific-smtp-edit-window.c:
522         (modest_connection_specific_smtp_edit_window_init): 
523         Use the correct (UI spec) port min/max, and use horizontal separators, 
524         as per the UI spec.
525
526 2007-04-23  Murray Cumming  <murrayc@murrayc.com>
527
528         * src/maemo/easysetup/modest-easysetup-wizard.c:
529         (set_default_custom_servernames):
530         * src/maemo/modest-account-settings-dialog.c:
531         (create_page_incoming), (on_combo_outgoing_security_changed),
532         (on_combo_incoming_security_changed), (create_page_outgoing),
533         (modest_account_settings_dialog_set_account_name),
534         (save_configuration):
535         * src/maemo/modest-connection-specific-smtp-edit-window.c:
536         (on_combo_security_changed),
537         (modest_connection_specific_smtp_edit_window_init),
538         (modest_connection_specific_smtp_edit_window_set_connection),
539         (modest_connection_specific_smtp_edit_window_get_settings): 
540         Use HildonNumberEditor instead of GtkEntry for the port numbers so it has the - and + buttons,
541         as per the UI spec.
542
543 2007-04-20  Murray Cumming  <murrayc@murrayc.com>
544
545         * po/en_GB.po:
546         * src/maemo/easysetup/modest-easysetup-wizard.c:
547         (create_page_custom_outgoing), (create_page_complete_custom):
548         * src/maemo/modest-account-settings-dialog.c:
549         (create_page_user_details), (create_page_outgoing):
550         * src/maemo/modest-account-view-window.c: (button_box_new):
551         Use changed logical IDs as per the most recent UI spec:
552         mcen_bd_emailsetup_edit -> mcen_bd_edit
553         mcen_bd_emailsetup_delete -> mcen_bd_delete
554         mcen_bd_emailsetup_close -> mcen_bd_close
555
556 2007-04-20  2007-04-20  Murray Cumming  <murrayc@murrayc.com>
557
558         * configure.ac:
559         * src/Makefile.am:
560         * src/dbus_api/Makefile.am:
561         * src/dbus_api/modest-dbus-callbacks.c:
562         * src/dbus_api/modest-dbus-callbacks.h:
563         * src/maemo/modest-platform.c: (modest_platform_init):
564         Added the beginnings of a D-Bus API. At the moment it just has a HelloWorld 
565         method.
566         * tests/Makefile.am:
567         * tests/dbus_api/Makefile.am:
568         * tests/dbus_api/test_hello.c: (main): Very simple test of the D-Bus API.
569
570 2007-04-20  Murray Cumming  <murrayc@murrayc.com>
571
572         * src/maemo/modest-account-settings-dialog.c:
573         * src/maemo/modest-connection-specific-smtp-edit-window.c:
574         Removed unnecessary includes.
575
576 2007-04-20  Murray Cumming  <murrayc@murrayc.com>
577
578         * src/maemo/easysetup/modest-easysetup-wizard.c:
579         * src/maemo/modest-account-settings-dialog.c:
580         * src/maemo/modest-connection-specific-smtp-edit-window.c:
581         * src/widgets/Makefile.am:
582         * src/widgets/modest-easysetup-secureauth-combo-box.c:
583         * src/widgets/modest-easysetup-secureauth-combo-box.h:
584         * src/widgets/modest-easysetup-serversecurity-combo-box.c:
585         * src/widgets/modest-easysetup-serversecurity-combo-box.h:
586         * src/widgets/modest-secureauth-combo-box.c:
587         * src/widgets/modest-secureauth-combo-box.h:
588         * src/widgets/modest-serversecurity-combo-box.c:
589         * src/widgets/modest-serversecurity-combo-box.h: Renamed the files and 
590         made the GObject names more consistent with the rest of the Modest code.
591
592 2007-04-20  Murray Cumming  <murrayc@murrayc.com>
593
594         * src/maemo/easysetup/Makefile.am:
595         * src/maemo/easysetup/modest-easysetup-secureauth-combo-box.c:
596         * src/maemo/easysetup/modest-easysetup-secureauth-combo-box.h:
597         * src/maemo/easysetup/modest-easysetup-serversecurity-combo-box.c:
598         * src/maemo/easysetup/modest-easysetup-serversecurity-combo-box.h:
599         * src/maemo/easysetup/modest-easysetup-wizard.c:
600         * src/maemo/easysetup/modest-validating-entry.c:
601         * src/maemo/easysetup/modest-validating-entry.h:
602         * src/maemo/modest-account-settings-dialog.c:
603         * src/maemo/modest-connection-specific-smtp-edit-window.c:
604         * src/widgets/Makefile.am: Moved these widgets from maemo/easysetup into 
605         widgets/ because they are used outside of easysetup too. After checking in, 
606         svn will allow me to rename them too.
607
608 2007-04-20  Murray Cumming  <murrayc@murrayc.com>
609
610         * src/gnome/modest-msg-edit-window.c:
611         (modest_msg_edit_window_set_priority_flags): Added an empty implementation to fix a 
612         linker error, to fix the build on the GNOME platform.
613         modest_msg_edit_window_set_zoom(), modest_msg_edit_window_get_zoom(), 
614         modest_msg_edit_window_zoom_plus(), modest_msg_edit_window_zoom_minus():
615         ifdefed out to avoid a warning.
616
617 2007-04-20  Murray Cumming  <murrayc@murrayc.com>
618
619         * src/widgets/modest-header-view.c: (on_focus_in): Use GTK_CHECK_VERSION to #ifdef around the 
620         use of gtk_tree_view_get_visible_range(), to fix the build on Mameo. This code probably needs 
621         some alternative for GTK+ 2.6.
622
623 2007-04-19  Murray Cumming  <murrayc@murrayc.com>
624
625         * src/maemo/modest-address-book.c: Added include to avoid a warning.
626
627         * po/en_GB.po: Added missing mcen_bd_emailsetup_close string, 
628         specified for EmailAccountsDialog in UI spec.
629         
630         * src/maemo/easysetup/modest-easysetup-wizard.c:
631         * src/maemo/easysetup/modest-easysetup-wizard.h:
632         * src/maemo/modest-account-settings-dialog.c:
633         * src/maemo/modest-account-settings-dialog.h:
634         Reuse a member window widget for the connection-specific SMTP server accounts, 
635         so we can tell it to create/save the accounts only if we actually save changes.
636
637         * src/maemo/modest-connection-specific-smtp-edit-window.h:      
638         * src/maemo/modest-connection-specific-smtp-edit-window.c:
639         (modest_connection_specific_smtp_edit_window_get_settings): 
640         Return a struct instance for temporarily remembering the entered data.
641
642         * src/maemo/modest-connection-specific-smtp-window.h:
643         * src/maemo/modest-connection-specific-smtp-window.c:
644         (modest_connection_specific_smtp_window_finalize),
645         (modest_connection_specific_smtp_window_fill_with_connections),
646         (on_button_edit),
647         (modest_connection_specific_smtp_window_save_server_accounts),
648         (update_model_server_names): Do not actually save data until asked, 
649         when the caller calls modest_connection_specific_smtp_window_save_server_accounts().
650         
651         (on_selection_changed),
652         (modest_connection_specific_smtp_window_init): Disable the edit 
653         button when nothing is selected.
654         
655         * src/modest-account-mgr-helpers.c:
656         * src/modest-account-mgr-helpers.h: 
657         Put modest_account_mgr_free_server_account_data() in the header now that I use the struct 
658         elsewhere.
659
660 2007-04-19  Murray Cumming  <murrayc@murrayc.com>
661
662         * src/modest-account-mgr-helpers.h:
663         * src/modest-account-mgr-helpers.c:
664         (modest_account_mgr_get_unused_account_name),
665         (modest_account_mgr_get_unused_account_display_name): Added these 
666         utility functions, to avoid code duplication.
667
668         * src/maemo/easysetup/modest-easysetup-wizard.c:
669         (create_page_account_details), (create_account):
670         * src/maemo/modest-connection-specific-smtp-edit-window.c:
671         (on_combo_security_changed),
672         (modest_connection_specific_smtp_edit_window_init),
673         (modest_connection_specific_smtp_edit_window_save_settings):
674         * src/maemo/modest-connection-specific-smtp-edit-window.h:
675         * src/maemo/modest-connection-specific-smtp-window.c:
676         (modest_connection_specific_smtp_window_finalize),
677         (modest_connection_specific_smtp_window_fill_with_connections),
678         (on_button_edit), (modest_connection_specific_smtp_window_init):
679         * src/maemo/modest-connection-specific-smtp-window.h:
680         Implementing saving of connection-specific server accounts.
681         
682         But I need to refactor this so we can save the data for each 
683         possible connection-specific account and only actually create the server accounts 
684         when the easysetup finished, or the OK button is pressed on the account settings 
685         dialog.
686
687 2007-04-18  Murray Cumming  <murrayc@murrayc.com>
688
689         * src/maemo/modest-connection-specific-smtp-edit-window.c:
690         (on_combo_security_changed): 
691         (modest_connection_specific_smtp_edit_window_init):
692         Auto-fill the port number as in the account settings.
693         
694         (modest_connection_specific_smtp_edit_window_set_connection):
695         * src/maemo/modest-connection-specific-smtp-edit-window.h:
696         * src/maemo/modest-connection-specific-smtp-window.c:
697         (fill_with_connections), (on_button_edit),
698         (modest_connection_specific_smtp_window_init): 
699         Turn the edit window into a dialog to simplify the code, and 
700         set a WM hint as in a GtkDialog, because only a popup can be on top of 
701         another window in Maemo, and popups usually have no WM decoration.
702         
703         * src/modest-defs.h:
704         * src/modest-account-mgr-helpers.c:
705         (modest_account_mgr_set_connection_specific_smtp),
706         (modest_account_mgr_remove_connection_specific_smtp),
707         (modest_account_mgr_get_connection_specific_smtp):
708         * src/modest-account-mgr-helpers.h: Some functions to write the 
709         connection-specific SMTP server information. Not yet used.
710
711         
712         * src/widgets/modest-folder-view.c: (text_cell_data):
713         Fix a warning about an uninitialized variable.
714         (on_configuration_key_changed): Put an #ifdef around the use 
715         of gtk_tree_view_column_queue_resize() because it is new in GTK+ 2.10.
716
717 2007-04-18  Murray Cumming  <murrayc@murrayc.com>
718
719         * src/maemo/modest-account-settings-dialog.h:
720         * src/maemo/modest-account-settings-dialog.c:
721         Added connect_for_modified() utility function to mark the new modified boolean.
722         
723         (create_page_account_details), (create_page_user_details),
724         (create_page_incoming), (create_page_outgoing), (on_response),
725         (modest_account_settings_dialog_init),
726         (modest_account_settings_dialog_set_account_name):
727         Only warn about unsaved changes when there are actually unsaved changes.
728         
729         * src/modest-account-mgr-helpers.c:
730         * src/modest-account-mgr-helpers.h: Put the port, secure-auth, and security information 
731         into the ModestServerAccountData struct. I do not use it yet, but someone might expect 
732         to get the data from there in future.
733
734 2007-04-18  Murray Cumming  <murrayc@murrayc.com>
735
736         * src/modest-defs.h:
737
738         * src/modest-account-mgr-helpers.h:
739         * src/modest-account-mgr-helpers.c:
740         Store the security account setting in a single conf key instead of using 
741         the options list, so that the list is left for just the to-be-removed camel hack, 
742         and because gconf_client_set_list() is failing for some reason.
743
744         * src/modest-account-mgr.c:
745         (modest_account_mgr_add_server_account):
746         * src/maemo/modest-account-settings-dialog.c:
747         (modest_account_settings_dialog_set_account_name),
748         (save_configuration): Use the renamed functions.
749
750
751 2007-04-18  Murray Cumming  <murrayc@murrayc.com>
752
753         * src/widgets/Makefile.am:
754         * src/widgets/modest-limit-retrieve-combo-box.c:
755         * src/widgets/modest-limit-retrieve-combo-box.h:
756         * src/widgets/modest-retrieve-combo-box.c:
757         * src/widgets/modest-retrieve-combo-box.h: Added new widgets for use in 
758         the account settings dialog.
759         
760         * src/modest-defs.h:
761         * src/modest-account-mgr-helpers.h:
762         * src/modest-account-mgr-helpers.c:
763         (modest_server_account_get_option_secure_auth),
764         (modest_server_account_set_option_secure_auth):
765         * src/modest-account-mgr.c:
766         (modest_account_mgr_add_server_account):
767         Use the existing AUTH_MECH conf key for the secure-auth setting, 
768         instead of putting it in the list options, because this was actually used already.
769         
770         * src/maemo/modest-account-settings-dialog.c:
771         (create_page_account_details),
772         (modest_account_settings_dialog_set_account_name),
773         (save_configuration):
774         * src/maemo/modest-account-settings-dialog.h:
775         Add the retrieve and retrieve-limit combo boxes, as per the UI spec.
776         Hide the leave-messages checkbox for non-POP accounts, as per the UI spec.
777
778 2007-04-18  Murray Cumming  <murrayc@murrayc.com>
779
780         * src/maemo/easysetup/modest-easysetup-serversecurity-combo-box.h:
781         * src/maemo/easysetup/modest-easysetup-serversecurity-combo-box.c:
782         Added easysetup_serversecurity_combo_box_get_active_serversecurity_port()
783
784         * src/modest-defs.h:
785         * src/maemo/modest-account-settings-dialog.c:
786         (create_page_incoming), (on_combo_outgoing_security_changed),
787         (on_combo_incoming_security_changed), (create_page_outgoing),
788         (modest_account_settings_dialog_set_account_name),
789         (save_configuration): Load/Save the port number, and change it when the 
790         security combo changes, to suitable defaults.
791
792 2007-04-17  Murray Cumming  <murrayc@murrayc.com>
793
794         * src/modest-account-mgr.c:
795         (modest_account_mgr_add_server_account): Set the security and secure-auth 
796         options, and add a comment saying that the other camel-specific options should be 
797         removed in future.
798
799 2007-04-17  Murray Cumming  <murrayc@murrayc.com>
800
801         * src/maemo/modest-account-settings-dialog.c: (check_data): Always return something, 
802         found by valgrind.
803         * src/modest-tny-account-store.c: (account_list_free),
804         (on_account_changed): Add a TODO comment about a valgrind error, caused by using 
805         cursor->data after unreffing it. But there is some strange stuff there so it might not be 
806         easy to fix.
807
808 2007-04-17  Murray Cumming  <murrayc@murrayc.com>
809
810         * src/modest-protocol-info.c:
811         * src/modest-protocol-info.h: Added a MODEST_PROTOCOL_AUTH_CRAMMD5 enum value, because it 
812         is required by our UI spec. Maybe something in our implementation will use this eventually.
813         * src/maemo/easysetup/modest-easysetup-secureauth-combo-box.c: 
814         (easysetup_secureauth_combo_box_fill): Use the CRAM MD5 enum value 
815         instead of the previous 0 placeholder.
816         
817         * src/modest-defs.h: Added gconf list pair key names and value strings for the security and 
818         secure-auth settings.
819         * src/modest-account-mgr-helpers.h:
820         * src/modest-account-mgr-helpers.c:
821         (modest_server_account_data_get_option_secure_auth),
822         (modest_server_account_set_option_secure_auth),
823         (modest_server_account_data_get_option_security),
824         (modest_server_account_set_option_security): Added this API for getting and setting the security 
825         and secure-auth settings.
826         
827         * src/maemo/modest-account-settings-dialog.h:
828         * src/maemo/modest-account-settings-dialog.c:
829         (modest_account_settings_dialog_finalize), (check_data),
830         (on_response): Store the original title as well as the name, to avoid unnececessary warnings 
831         about changing titles.
832         (modest_account_settings_dialog_set_account_name): Load the security and secure-auth settings.
833         (save_configuration): Save the security and secure-auth settings.
834
835         * src/modest-conf.c: (modest_conf_set_list): Get the list after setting it, to show that this 
836         is failing sometimes (though reporting success). I fear I may need to debug gconf to fix this.
837
838 2007-04-17  Murray Cumming  <murrayc@murrayc.com>
839
840         * src/modest-defs.h: 
841         * src/modest-account-mgr.c:
842         (modest_account_mgr_add_server_account):
843         Added and used defines for the options key and value pair strings, 
844         that are used so far, though they do not seem to correspond to anything in our 
845         UI specs or ModestProtocol enum.
846         
847         * src/modest-account-mgr-helpers.h:
848         * src/modest-account-mgr-helpers.c:
849         (compare_option_strings_for_name),
850         (modest_server_account_data_get_option_value),
851         (modest_server_account_data_get_option_bool),
852         (modest_account_mgr_get_server_account_option):
853         Added helper functions for parsing the options GSList.
854
855 2007-04-16  Murray Cumming  <murrayc@murrayc.com>
856
857         * src/modest-account-mgr-helpers.c: Clarified the documentation to say that the initial 
858         display name is based on the supplied account name.
859         * src/modest-account-mgr.c:
860         * src/modest-account-mgr.h: Added modest_account_mgr_account_with_display_name_exists(), 
861         with an inefficient, but good-enough, implementation.
862         
863         * src/maemo/easysetup/modest-easysetup-wizard.c:
864         (create_page_account_details), (on_before_next), (create_account): 
865         Check for existing display names rather than (non-user-visible) account names, and just 
866         create and set a unique account name at the end.
867         
868         * src/maemo/modest-account-settings-dialog.c:
869         (modest_account_settings_dialog_init),
870         (modest_account_settings_dialog_set_account_name),
871         (create_page_incoming): Show the display name, instead of the account name.
872         (on_response): Do some (not all) extra checks, as in the UI spec.
873         (save_configuration): Save the display name if it was changed.
874
875 2007-04-16  Murray Cumming  <murrayc@murrayc.com>
876
877         * po/en_GB.po: Added needed logical ID and translation.
878         * src/widgets/modest-account-view.c: (on_account_default_toggled),
879         (init_view): Made the is-default column clicking work.
880
881 2007-04-16  Murray Cumming  <murrayc@murrayc.com>
882
883         * configure.ac:
884         * src/maemo/easysetup/Makefile.am:
885         * src/maemo/easysetup/modest-easysetup-wizard.c:
886         (modest_easysetup_wizard_dialog_init):
887         * src/maemo/easysetup/provider-data-test.keyfile:
888         * src/maemo/easysetup/provider-data.keyfile: 
889         Moved the provider data file to the new modest-providers-data package and used it from there.
890
891 2007-04-16  Murray Cumming  <murrayc@murrayc.com>
892
893         * src/modest-local-folder-info.c:
894         (modest_local_folder_info_get_type_display_name): Use _() to actually get the translated string. 
895         N_() was already used on the static strings, but this just marks it for translation without 
896         using the translation.
897
898 2007-04-06  Murray Cumming  <murrayc@murrayc.com>
899
900         * src/maemo/modest-account-settings-dialog.c:
901         (create_page_incoming),
902         (modest_account_settings_dialog_set_account_name): 
903         Added comments about the need for new API in ModestAccountMgr to handle the authentication 
904         and secure-connection stuff that is stored in the options GSList* with hard-coded names.
905         I will do this if nobody else gets there first.
906
907 2007-04-06  Murray Cumming  <murrayc@murrayc.com>
908
909         * src/maemo/modest-account-settings-dialog.c: (save_configuration): 
910         Saved much of the incoming and outgoing data too, though I cannot yet see how to 
911         save the security stuff.
912
913 2007-04-06  Murray Cumming  <murrayc@murrayc.com>
914
915         * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account): 
916         Set the email address and user fullname, which I now see must be 
917         done separately.
918         
919         * src/maemo/modest-account-settings-dialog.h:
920         * src/maemo/modest-account-settings-dialog.c:
921          (on_response),
922         (modest_account_settings_dialog_set_account_name): Show the email address, fullname, 
923         leave-on-server and authentication.
924         (save_configuration): Save most of the non-server-account specific stuff, but I don't see 
925         how to do the rest.
926
927 2007-04-06  Murray Cumming  <murrayc@murrayc.com>
928
929
930         * src/maemo/modest-account-settings-dialog.c:
931         * src/maemo/modest-account-settings-dialog.h:
932         Most (but not all) of the widgets are now present as specified by the UI spec.
933         No changes are yet saved, and some details are not properly shown yet.
934         
935         * po/en_GB.po: Added translations for logical IDs used by the Account Settings dialog.
936
937 2007-04-06  Murray Cumming  <murrayc@murrayc.com>
938
939         * src/maemo/Makefile.am:
940         * src/maemo/modest-account-settings-dialog.c:
941         * src/maemo/modest-account-settings-dialog.h: The beginnings of the dialog to edit 
942         an existing account. Doesn't do much yet.
943         
944         * src/maemo/modest-account-view-window.c: (on_edit_button_clicked): 
945         Open the accounts settings dialog when Edit is clicked.
946
947 2007-04-05  Murray Cumming  <murrayc@murrayc.com>
948
949         * src/maemo/easysetup/Makefile.am:
950         * src/maemo/easysetup/modest-easysetup-country-combo-box.c:
951         (load_from_file): 
952         * src/maemo/easysetup/modest-easysetup-wizard.c:
953         (modest_easysetup_wizard_dialog_init):
954         Try to get the source directory from the build system,
955         instead of hard-coding "./" into the source code, when opening our local 
956         copies of the configuration files.
957         But this still fails when opening the wizard from the Accounts window, 
958         maybe because the working directory seems to change at runtime.
959         So the wizard will fail the second time unless you copy the files into their 
960         proper locations - see the stdout warnings for the paths.
961         
962         (create_page_account_details),(on_before_next): 
963         Check for existing non-server accounts instead of server accounts, 
964         so the default account name is useful again, and to prevent trying to 
965         recreate accounts.
966         
967         * src/maemo/modest-account-view-window.c: (on_new_button_clicked): 
968         Show the wizard when New is clicked.
969         
970         * src/widgets/modest-account-view.c: (on_account_default_toggled),
971         (init_view): Show the column headers, and show the columns that are 
972         specified in the UI specs. However, something in Maemo's GTK+ prevents 
973         us from handling the GtkCellRendererToggle::toggled signal, so we cannot 
974         change the default account. This is despite unsetting the special properties.
975
976 2007-04-05  Murray Cumming  <murrayc@murrayc.com>
977
978         * docs/reference/modest-design.sgml: Corrected spelling mistake.
979         * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account): 
980         Create the 2 server accounts and then create the account, using the names of the 2 server accounts.
981         This seems to be how this should be used. If it is, then I will update the AccountMgr documentation 
982         to make that clearer.
983         * src/modest-account-mgr.h: Corrected the modest_account_mgr_search_server_account() documentation.
984
985 2007-04-05  Murray Cumming  <murrayc@murrayc.com>
986
987         * src/maemo/modest-account-view-window.c:
988         (modest_account_view_window_init),
989         (modest_account_view_window_new):
990         Use the same buttons as specified in the 
991         UI spec. Add the widgets to the vbox and action_area instead of just assigning them to 
992         the existing widgets, which never had a chance of working.
993         Put the ModestAccountView treeview in a scrolled window.
994         Do not repeat the initialization in both _init() and _new().
995         
996         * src/widgets/modest-account-view.c: (update_account_view):
997         Add a warning about modest_account_mgr_account_names() returning NULL, which is why 
998         this widget and window shows no accounts.
999         
1000         * po/en_GB.po: Added translations needed for the dialog button logical IDs.
1001         
1002 2007-04-05  Murray Cumming  <murrayc@murrayc.com>
1003
1004         * src/maemo/easysetup/modest-easysetup-wizard.c:
1005         (set_default_custom_servernames): Avoid a dereference of a destroyed widget.
1006         (create_account): Do a sanity check, showing that modest_account_mgr_account_names() 
1007         returns NULL after modest_account_mgr_add_server_account() returned TRUE, 
1008         which seems wrong.
1009         
1010         * src/maemo/modest-main-window-ui.h: Specify the callback for the Accounts menu item.
1011         * src/modest-ui-actions.c: (modest_ui_actions_on_accounts): Open the wizard if no 
1012         accounts exist yet, as in the UI spec.
1013         
1014         * src/modest-account-mgr.h: Add TODO comment about a possible memory leak.
1015
1016 2007-04-05  Murray Cumming  <murrayc@murrayc.com>
1017
1018         * src/maemo/Makefile.am:
1019         * src/maemo/modest-connection-specific-smtp-edit-window.c:
1020         * src/maemo/modest-connection-specific-smtp-edit-window.h: 
1021         New window for editing connection-specific smtp details.
1022         Not fully implemented.
1023
1024         * src/maemo/modest-connection-specific-smtp-window.c:
1025         (modest_connection_specific_smtp_window_finalize) :
1026         unref the tree model.
1027         (on_button_edit): Show the edit window.
1028
1029 2007-04-05  Murray Cumming  <murrayc@murrayc.com>
1030
1031         * src/Makefile.am: Change sequence of sub-libraries, which fixed an undefined symbol 
1032         error for me.
1033         
1034         * src/maemo/Makefile.am:
1035         * src/maemo/modest-connection-specific-smtp-window.c:
1036         * src/maemo/modest-connection-specific-smtp-window.h:
1037         New window for showing the list of connections, for connection-specific 
1038         SMTP servers. Not fully implemented, because it needs an enhancement to TnyMaemoDevice.
1039         * src/maemo/easysetup/modest-easysetup-wizard.c:
1040         (create_page_custom_outgoing): Show the new window when the button is clicked.
1041
1042 2007-04-04  Murray Cumming  <murrayc@murrayc.com>
1043
1044         * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
1045         * src/maemo/easysetup/modest-presets.c: (modest_presets_new):
1046         * src/maemo/modest-msg-edit-window.c:
1047         (modest_msg_edit_window_insert_image):
1048         * src/modest-conf.c: (modest_conf_key_escape):
1049         * src/modest-mail-operation.c:
1050         (modest_mail_operation_send_new_mail):
1051         * src/modest-ui-actions.c: (modest_ui_actions_on_accounts),
1052         (modest_ui_actions_on_new_account):
1053         * src/widgets/modest-attachment-view.c: (update_filename_request):
1054         * src/widgets/modest-mail-header-view.c: 
1055         Corrected warnings that were breaking the build, by commenting out unused variables, 
1056         and a function, and by including a header.
1057
1058 2007-04-04  Murray Cumming  <murrayc@murrayc.com>
1059
1060         * configure.ac: Define MODEST_PLATFORM_MAEMO and MODEST_PLATFORM_GNOME in config.h, 
1061         so we can #ifdef around platform-specific code when necessary.
1062         * src/modest-ui-actions.c: (modest_ui_actions_on_new_account): Use MODEST_PLATFORM_MAEMO 
1063         to allow this to build for the GNOME platform too.
1064
1065 2007-04-04  Murray Cumming  <murrayc@murrayc.com>
1066
1067         * src/maemo/easysetup/modest-easysetup-wizard.c:
1068         Added util_increment_name() and used it in create_page_account_details() 
1069         to make sure that the default account name is always a new name.
1070         
1071         (modest_easysetup_wizard_dialog_init), 
1072         (set_default_custom_servernames): Some minor memory management fixes.
1073
1074 2007-04-04  Murray Cumming  <murrayc@murrayc.com>
1075
1076         * Makefile.am:
1077         * configure.ac:
1078         * src/modest-runtime.c: (init_i18n): Restored the translation 
1079         infrastructure, so that GETTEXT_PACKAGE and MODEST_LOCALE_DIR 
1080         are defined in config.h, and the translations are installed.
1081         
1082         * src/maemo/easysetup/: Include config.h so that GETTEXT_PACKAGE 
1083         is defined for translation.
1084
1085 2007-04-03  Murray Cumming  <murrayc@murrayc.com>
1086
1087         * src/maemo/easysetup/modest-easysetup-country-combo-box.c:
1088         (load_from_file):
1089         * src/maemo/easysetup/modest-easysetup-wizard.c:
1090         (modest_easysetup_wizard_dialog_init):
1091         * src/maemo/easysetup/modest-presets.c: (modest_presets_new): 
1092         Use realistic paths (though they should use $prefix generically) to the 
1093         mcc_mapping and provider-data.keyfile files which might work when they 
1094         are installed by the future version of the operator-wizard package, 
1095         and then fallback to paths in our source code, with an explanatory 
1096         warning.
1097
1098 2007-04-03  Murray Cumming  <murrayc@murrayc.com>
1099
1100         * configure.ac:
1101         * src/Makefile.am:
1102         * src/maemo/Makefile.am:
1103         * src/maemo/easysetup/: Added files from the previously-exernal 
1104         osso-modest-easysetup.
1105         * src/maemo/modest-main-window-ui.h:
1106         * src/modest-ui-actions.c: 
1107         * src/modest-ui-actions.h:
1108         Added modest_ui_actions_on_new_account() as a signal handler for the 
1109         New Account menu item. It shows the easysetup wizard.
1110         * po/en_GB.po: Added additional needed logical IDs and translations.
1111         
1112 Started ChangeLog2 file, because I cannot work without a ChangeLog. murrayc.
1113 Apparently ChangeLog is not used for some vague Nokia legal reasons.
1114