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