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