2007-04-06 Murray Cumming <murrayc@murrayc.com>
[modest] / ChangeLog2
1 2007-04-06  Murray Cumming  <murrayc@murrayc.com>
2
3         * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account): 
4         Set the email address and user fullname, which I now see must be 
5         done separately.
6         
7         * src/maemo/modest-account-settings-dialog.h:
8         * src/maemo/modest-account-settings-dialog.c:
9          (on_response),
10         (modest_account_settings_dialog_set_account_name): Show the email address, fullname, 
11         leave-on-server and authentication.
12         (save_configuration): Save most of the non-server-account specific stuff, but I don't see 
13         how to do the rest.
14
15 2007-04-06  Murray Cumming  <murrayc@murrayc.com>
16
17
18         * src/maemo/modest-account-settings-dialog.c:
19         * src/maemo/modest-account-settings-dialog.h:
20         Most (but not all) of the widgets are now present as specified by the UI spec.
21         No changes are yet saved, and some details are not properly shown yet.
22         
23         * po/en_GB.po: Added translations for logical IDs used by the Account Settings dialog.
24
25 2007-04-06  Murray Cumming  <murrayc@murrayc.com>
26
27         * src/maemo/Makefile.am:
28         * src/maemo/modest-account-settings-dialog.c:
29         * src/maemo/modest-account-settings-dialog.h: The beginnings of the dialog to edit 
30         an existing account. Doesn't do much yet.
31         
32         * src/maemo/modest-account-view-window.c: (on_edit_button_clicked): 
33         Open the accounts settings dialog when Edit is clicked.
34
35 2007-04-05  Murray Cumming  <murrayc@murrayc.com>
36
37         * src/maemo/easysetup/Makefile.am:
38         * src/maemo/easysetup/modest-easysetup-country-combo-box.c:
39         (load_from_file): 
40         * src/maemo/easysetup/modest-easysetup-wizard.c:
41         (modest_easysetup_wizard_dialog_init):
42         Try to get the source directory from the build system,
43         instead of hard-coding "./" into the source code, when opening our local 
44         copies of the configuration files.
45         But this still fails when opening the wizard from the Accounts window, 
46         maybe because the working directory seems to change at runtime.
47         So the wizard will fail the second time unless you copy the files into their 
48         proper locations - see the stdout warnings for the paths.
49         
50         (create_page_account_details),(on_before_next): 
51         Check for existing non-server accounts instead of server accounts, 
52         so the default account name is useful again, and to prevent trying to 
53         recreate accounts.
54         
55         * src/maemo/modest-account-view-window.c: (on_new_button_clicked): 
56         Show the wizard when New is clicked.
57         
58         * src/widgets/modest-account-view.c: (on_account_default_toggled),
59         (init_view): Show the column headers, and show the columns that are 
60         specified in the UI specs. However, something in Maemo's GTK+ prevents 
61         us from handling the GtkCellRendererToggle::toggled signal, so we cannot 
62         change the default account. This is despite unsetting the special properties.
63
64 2007-04-05  Murray Cumming  <murrayc@murrayc.com>
65
66         * docs/reference/modest-design.sgml: Corrected spelling mistake.
67         * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account): 
68         Create the 2 server accounts and then create the account, using the names of the 2 server accounts.
69         This seems to be how this should be used. If it is, then I will update the AccountMgr documentation 
70         to make that clearer.
71         * src/modest-account-mgr.h: Corrected the modest_account_mgr_search_server_account() documentation.
72
73 2007-04-05  Murray Cumming  <murrayc@murrayc.com>
74
75         * src/maemo/modest-account-view-window.c:
76         (modest_account_view_window_init),
77         (modest_account_view_window_new):
78         Use the same buttons as specified in the 
79         UI spec. Add the widgets to the vbox and action_area instead of just assigning them to 
80         the existing widgets, which never had a chance of working.
81         Put the ModestAccountView treeview in a scrolled window.
82         Do not repeat the initialization in both _init() and _new().
83         
84         * src/widgets/modest-account-view.c: (update_account_view):
85         Add a warning about modest_account_mgr_account_names() returning NULL, which is why 
86         this widget and window shows no accounts.
87         
88         * po/en_GB.po: Added translations needed for the dialog button logical IDs.
89         
90 2007-04-05  Murray Cumming  <murrayc@murrayc.com>
91
92         * src/maemo/easysetup/modest-easysetup-wizard.c:
93         (set_default_custom_servernames): Avoid a dereference of a destroyed widget.
94         (create_account): Do a sanity check, showing that modest_account_mgr_account_names() 
95         returns NULL after modest_account_mgr_add_server_account() returned TRUE, 
96         which seems wrong.
97         
98         * src/maemo/modest-main-window-ui.h: Specify the callback for the Accounts menu item.
99         * src/modest-ui-actions.c: (modest_ui_actions_on_accounts): Open the wizard if no 
100         accounts exist yet, as in the UI spec.
101         
102         * src/modest-account-mgr.h: Add TODO comment about a possible memory leak.
103
104 2007-04-05  Murray Cumming  <murrayc@murrayc.com>
105
106         * src/maemo/Makefile.am:
107         * src/maemo/modest-connection-specific-smtp-edit-window.c:
108         * src/maemo/modest-connection-specific-smtp-edit-window.h: 
109         New window for editing connection-specific smtp details.
110         Not fully implemented.
111
112         * src/maemo/modest-connection-specific-smtp-window.c:
113         (modest_connection_specific_smtp_window_finalize) :
114         unref the tree model.
115         (on_button_edit): Show the edit window.
116
117 2007-04-05  Murray Cumming  <murrayc@murrayc.com>
118
119         * src/Makefile.am: Change sequence of sub-libraries, which fixed an undefined symbol 
120         error for me.
121         
122         * src/maemo/Makefile.am:
123         * src/maemo/modest-connection-specific-smtp-window.c:
124         * src/maemo/modest-connection-specific-smtp-window.h:
125         New window for showing the list of connections, for connection-specific 
126         SMTP servers. Not fully implemented, because it needs an enhancement to TnyMaemoDevice.
127         * src/maemo/easysetup/modest-easysetup-wizard.c:
128         (create_page_custom_outgoing): Show the new window when the button is clicked.
129
130 2007-04-04  Murray Cumming  <murrayc@murrayc.com>
131
132         * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
133         * src/maemo/easysetup/modest-presets.c: (modest_presets_new):
134         * src/maemo/modest-msg-edit-window.c:
135         (modest_msg_edit_window_insert_image):
136         * src/modest-conf.c: (modest_conf_key_escape):
137         * src/modest-mail-operation.c:
138         (modest_mail_operation_send_new_mail):
139         * src/modest-ui-actions.c: (modest_ui_actions_on_accounts),
140         (modest_ui_actions_on_new_account):
141         * src/widgets/modest-attachment-view.c: (update_filename_request):
142         * src/widgets/modest-mail-header-view.c: 
143         Corrected warnings that were breaking the build, by commenting out unused variables, 
144         and a function, and by including a header.
145
146 2007-04-04  Murray Cumming  <murrayc@murrayc.com>
147
148         * configure.ac: Define MODEST_PLATFORM_MAEMO and MODEST_PLATFORM_GNOME in config.h, 
149         so we can #ifdef around platform-specific code when necessary.
150         * src/modest-ui-actions.c: (modest_ui_actions_on_new_account): Use MODEST_PLATFORM_MAEMO 
151         to allow this to build for the GNOME platform too.
152
153 2007-04-04  Murray Cumming  <murrayc@murrayc.com>
154
155         * src/maemo/easysetup/modest-easysetup-wizard.c:
156         Added util_increment_name() and used it in create_page_account_details() 
157         to make sure that the default account name is always a new name.
158         
159         (modest_easysetup_wizard_dialog_init), 
160         (set_default_custom_servernames): Some minor memory management fixes.
161
162 2007-04-04  Murray Cumming  <murrayc@murrayc.com>
163
164         * Makefile.am:
165         * configure.ac:
166         * src/modest-runtime.c: (init_i18n): Restored the translation 
167         infrastructure, so that GETTEXT_PACKAGE and MODEST_LOCALE_DIR 
168         are defined in config.h, and the translations are installed.
169         
170         * src/maemo/easysetup/: Include config.h so that GETTEXT_PACKAGE 
171         is defined for translation.
172
173 2007-04-03  Murray Cumming  <murrayc@murrayc.com>
174
175         * src/maemo/easysetup/modest-easysetup-country-combo-box.c:
176         (load_from_file):
177         * src/maemo/easysetup/modest-easysetup-wizard.c:
178         (modest_easysetup_wizard_dialog_init):
179         * src/maemo/easysetup/modest-presets.c: (modest_presets_new): 
180         Use realistic paths (though they should use $prefix generically) to the 
181         mcc_mapping and provider-data.keyfile files which might work when they 
182         are installed by the future version of the operator-wizard package, 
183         and then fallback to paths in our source code, with an explanatory 
184         warning.
185
186 2007-04-03  Murray Cumming  <murrayc@murrayc.com>
187
188         * configure.ac:
189         * src/Makefile.am:
190         * src/maemo/Makefile.am:
191         * src/maemo/easysetup/: Added files from the previously-exernal 
192         osso-modest-easysetup.
193         * src/maemo/modest-main-window-ui.h:
194         * src/modest-ui-actions.c: 
195         * src/modest-ui-actions.h:
196         Added modest_ui_actions_on_new_account() as a signal handler for the 
197         New Account menu item. It shows the easysetup wizard.
198         * po/en_GB.po: Added additional needed logical IDs and translations.
199         
200 Started ChangeLog2 file, because I cannot work without a ChangeLog. murrayc.
201 Apparently ChangeLog is not used for some vague Nokia legal reasons.
202