modest
16 years ago2007-06-17 Johannes Schmid <johannes.schmid@openismus.com>
Johannes Schmid [Sun, 17 Jun 2007 21:15:36 +0000 (21:15 +0000)]
2007-06-17  Johannes Schmid <johannes.schmid@openismus.com>

* configure.ac:
Fixed build with hildon < 0.99

* src/maemo/modest-account-view-window.c: (on_edit_button_clicked):
Check if the selected account is busy instead of checking all accounts

* src/modest-account-mgr-priv.h:
* src/modest-account-mgr.c: (modest_account_mgr_class_init),
(modest_account_mgr_init), (compare_account_name),
(modest_account_mgr_set_account_busy),
(modest_account_mgr_account_is_busy):
* src/modest-account-mgr.h:
Added busy information to the account manager. It possible to
set an account to busy or not busy now.

* src/modest-mail-operation.c: (modest_mail_operation_finalize),
(modest_mail_operation_update_account),
(modest_mail_operation_notify_end):
Set the account to busy/not busy depending on the operation state.

* src/widgets/modest-account-view.c:
(modest_account_view_finalize), (get_last_updated_string),
(update_account_view), (on_account_busy_changed), (init_view):
Show string \"Refreshing...\" if the account is currently busy.

All this fixes projects.maemo.org bug NB#59711

pmo-trunk-r2268

16 years ago* make modest work on pre-OSSO 1.1 once more (don't require the notification stuff)
Dirk-Jan C. Binnema [Sat, 16 Jun 2007 14:45:49 +0000 (14:45 +0000)]
* make modest work on pre-OSSO 1.1 once more (don't require the notification stuff)

pmo-trunk-r2267

16 years ago* src/maemo/modest-icon-names.h:
Jose Dapena Paz [Fri, 15 Jun 2007 17:19:26 +0000 (17:19 +0000)]
* src/maemo/modest-icon-names.h:
        * Added macros for bold and italic toolbar icons.
* src/widgets/modest-msg-edit-window-ui.h:
        * Use the maemo bold and italic icons (fixes NB#58612).

pmo-trunk-r2266

16 years ago* src/widgets/modest-mail-header-view.c:
Jose Dapena Paz [Fri, 15 Jun 2007 17:03:42 +0000 (17:03 +0000)]
* src/widgets/modest-mail-header-view.c:
        * If subject is empty string it shows "No subject" string
          (fixes NB#58610).

pmo-trunk-r2265

16 years ago* src/modest-text-utils.c:
Jose Dapena Paz [Fri, 15 Jun 2007 16:27:25 +0000 (16:27 +0000)]
* src/modest-text-utils.c:
        * Fixed the signature inclusion in _cite. This way, the
          signature adds an empty line before it in editor.
        * Now forward uses the same code reply uses for
          formatting messages, this fixes some issues
          (fixes NB#58430).

pmo-trunk-r2264

16 years ago* small improvements in the progress bar widget
Dirk-Jan C. Binnema [Fri, 15 Jun 2007 16:25:24 +0000 (16:25 +0000)]
* small improvements in the progress bar widget

pmo-trunk-r2263

16 years ago* src/widgets/modest-attachment-view.c:
Jose Dapena Paz [Fri, 15 Jun 2007 15:46:17 +0000 (15:46 +0000)]
* src/widgets/modest-attachment-view.c:
        * Set better the event box initialisation.
* src/widgets/modest-attachments-view.c:
        * Not it uses internally the absolute position of the events and
          specific attachment views. This finally fixes a hard bug.
          (fixes NB#58394).
* src/maemo/modest-addressbook.c:
        * Uses the synchronous call to open the address book on
          selecting addresses.

pmo-trunk-r2262

16 years agoUpdated the changelog with fixes made on 2007.06.15.
Dirk-Jan C. Binnema [Fri, 15 Jun 2007 14:59:01 +0000 (14:59 +0000)]
Updated the changelog with fixes made on 2007.06.15.

pmo-trunk-r2261

16 years ago* temp fix to prevent crashing while doing wild folder changing / cancelling actions
Dirk-Jan C. Binnema [Fri, 15 Jun 2007 14:26:03 +0000 (14:26 +0000)]
* temp fix to prevent crashing while doing wild folder changing / cancelling actions

pmo-trunk-r2260

16 years ago * Fixes NB#59717 that was reopened
Sergio Villar Senin [Fri, 15 Jun 2007 13:00:46 +0000 (13:00 +0000)]
* Fixes NB#59717 that was reopened
* Added modest_main_window_get_contents_style
* Fixed a problem with the empty view when moving messages to an empty folder

pmo-trunk-r2259

16 years agoSmall compilation warning fix
Philip Van Hoof [Fri, 15 Jun 2007 12:52:28 +0000 (12:52 +0000)]
Small compilation warning fix

pmo-trunk-r2258

16 years agoSmall compilation warning fix
Philip Van Hoof [Fri, 15 Jun 2007 12:50:10 +0000 (12:50 +0000)]
Small compilation warning fix

pmo-trunk-r2257

16 years agoSmall compilation warning fix
Philip Van Hoof [Fri, 15 Jun 2007 12:47:11 +0000 (12:47 +0000)]
Small compilation warning fix

pmo-trunk-r2256

16 years agoSmall compilation warning fix
Philip Van Hoof [Fri, 15 Jun 2007 12:44:43 +0000 (12:44 +0000)]
Small compilation warning fix

pmo-trunk-r2255

16 years ago* add "Copy" to the CSM; might fix NB#58246, but needs discussion with the UI designer
Dirk-Jan C. Binnema [Fri, 15 Jun 2007 12:35:17 +0000 (12:35 +0000)]
* add "Copy" to the CSM; might fix NB#58246, but needs discussion with the UI designer

pmo-trunk-r2254

16 years ago * Fixed some wrong dimming rules names
Sergio Villar Senin [Fri, 15 Jun 2007 12:13:11 +0000 (12:13 +0000)]
* Fixed some wrong dimming rules names
* Fixes NB#60205 Modest no longer crashes when transfering the last msg of a folder from the view window
* Removed an invalid assertion
* Fixed some memory leaks

pmo-trunk-r2253

16 years ago* src/modest-text-utils.[ch]:
Jose Dapena Paz [Fri, 15 Jun 2007 10:23:28 +0000 (10:23 +0000)]
* src/modest-text-utils.[ch]:
        * (modest_text_utils_get_subject_prefix_len): added some strings
          to the subject filter.
* src/widgets/modest-header-view.c:
        * Added (cmp_subject_rows), that compares the subjects filtering
          the Re:, Fwd:, etc.
        * Now it uses the new cmp_subject_rows function to sort the
          headers with subject field.

pmo-trunk-r2252

16 years ago * Expunge the draft messages when removed. Fixes NB#60398
Sergio Villar Senin [Fri, 15 Jun 2007 09:08:06 +0000 (09:08 +0000)]
* Expunge the draft messages when removed. Fixes NB#60398

pmo-trunk-r2251

16 years ago * Fixes NB#59396, the OUTBOX folder icon is now shown properly
Sergio Villar Senin [Fri, 15 Jun 2007 08:30:37 +0000 (08:30 +0000)]
* Fixes NB#59396, the OUTBOX folder icon is now shown properly
* Changed the folder type detection in the folder rules

pmo-trunk-r2249

16 years ago * Fixes NB#59030, fixed the items of the Reply CSM
Sergio Villar Senin [Fri, 15 Jun 2007 08:10:54 +0000 (08:10 +0000)]
* Fixes NB#59030, fixed the items of the Reply CSM

pmo-trunk-r2248

16 years ago * Fixes NB#58331, INBOX must not be moveable
Sergio Villar Senin [Fri, 15 Jun 2007 07:57:31 +0000 (07:57 +0000)]
* Fixes NB#58331, INBOX must not be moveable
* Added an pvanhoof's speedup enhancenment when marking headers as read/unread
* Added folder rules for the inbox folder
* Unregistered a signal handler in the folder view when finalized

pmo-trunk-r2247

16 years ago * Removed my own error handler that I use for debugging
Sergio Villar Senin [Fri, 15 Jun 2007 06:43:11 +0000 (06:43 +0000)]
* Removed my own error handler that I use for debugging

pmo-trunk-r2244

16 years ago2007-06-14 Armin Burgmeier <armin@openismus.com>
Armin Burgmeier [Thu, 14 Jun 2007 21:39:11 +0000 (21:39 +0000)]
2007-06-14  Armin Burgmeier  <armin@openismus.com>

* src/widgets/modest-attachments-view.h:
* src/widgets/modest-attachments-view.c: Added
modest_attachments_view_has_attachments() and fixed coordinate
transformation in get_att_view_at_coords(). This fixes attachment
selection.

* src/widgets/modest-msg-view.c: Make use of
modest_attachments_view_has_attachments() to decide whether to show
attachments in the header.

pmo-trunk-r2243

16 years ago2007-06-14 Johannes Schmid <johannes.schmid@openismus.com>
Johannes Schmid [Thu, 14 Jun 2007 17:22:18 +0000 (17:22 +0000)]
2007-06-14  Johannes Schmid <johannes.schmid@openismus.com>

* src/maemo/modest-connection-specific-smtp-edit-window.c:
(on_change), (on_combo_security_changed),
(modest_connection_specific_smtp_edit_window_init),
(modest_connection_specific_smtp_edit_window_set_connection),
(modest_connection_specific_smtp_edit_window_is_dirty):
* src/maemo/modest-connection-specific-smtp-edit-window.h:
* src/maemo/modest-connection-specific-smtp-window.c:
(on_button_edit):

Show an comfirmation dialog for the smpt-edit-window if there are
unsaved changes and the user hits cancel.
(projects.maemo.org but NB#60479

pmo-trunk-r2242

16 years ago* src/modest-text-utils.[ch]:
Jose Dapena Paz [Thu, 14 Jun 2007 16:44:47 +0000 (16:44 +0000)]
* src/modest-text-utils.[ch]:
        * Reworked the quote code to add attachmetns list.
          This should make attachments be shown on replying
          messages (fixes NB#58194).
        * Reworked the quote methods, to be more compliant
          to specs.
* src/modest-tny-msg.c, src/modest-formatter.[ch]:
        * Proper changes to pass the attachments list to the
          code that creates the quoted messages. It's used
          for showing the attachments names in replies including
          the original message.

pmo-trunk-r2241

16 years ago* add the time to the details; fixes NB#58620
Dirk-Jan C. Binnema [Thu, 14 Jun 2007 16:07:35 +0000 (16:07 +0000)]
* add the time to the details; fixes NB#58620

pmo-trunk-r2240

16 years ago2007-06-14 Armin Burgmeier <armin@openismus.com>
Armin Burgmeier [Thu, 14 Jun 2007 15:42:19 +0000 (15:42 +0000)]
2007-06-14  Armin Burgmeier  <armin@openismus.com>

* src/maemo/easysetup/modest-easysetup-wizard.c:
* src/maemo/modest-account-settings-dialog.c: Show "invalid email
address" info in banner instead of node, and select all the text as
per UI spec. This fixes projects.maemo.org bug NB#60550.

pmo-trunk-r2239

16 years ago* src/modest-text-utils.c:
Jose Dapena Paz [Thu, 14 Jun 2007 15:14:07 +0000 (15:14 +0000)]
* src/modest-text-utils.c:
        * (modest_text_utils_cite): cite shouldn't include
          replied message body, only signature (fixes NB#58185).

pmo-trunk-r2238

16 years ago* fix a refcounting issue if account_id is NULL when trying to get the local_folder_type
Dirk-Jan C. Binnema [Thu, 14 Jun 2007 15:10:28 +0000 (15:10 +0000)]
* fix a refcounting issue if account_id is NULL when trying to get the local_folder_type
* changed the folder rules; drafts cannot receive from drag&drop

pmo-trunk-r2237

16 years ago* set FolderName(<all>) for Outbox, Drafts,FolderName (<unread>) for the others
Dirk-Jan C. Binnema [Thu, 14 Jun 2007 15:08:35 +0000 (15:08 +0000)]
* set FolderName(<all>) for Outbox, Drafts,FolderName (<unread>) for the others
* get the type thing correctly
* depends on a tinymail fix too

pmo-trunk-r2236

16 years ago * Added modest_platform_create_folder_view
Sergio Villar Senin [Thu, 14 Jun 2007 14:52:59 +0000 (14:52 +0000)]
* Added modest_platform_create_folder_view
* Fixes NB#59468, the move to folder shows the folder view even if there is no main window

pmo-trunk-r2235

16 years ago * Updated the changelog with the fixes made on 14 june 2007.
Dirk-Jan C. Binnema [Thu, 14 Jun 2007 14:49:44 +0000 (14:49 +0000)]
  * Updated the changelog with the fixes made on 14 june 2007.

pmo-trunk-r2234

16 years ago* modest_text_utils_get_display_date:
Dirk-Jan C. Binnema [Thu, 14 Jun 2007 13:34:32 +0000 (13:34 +0000)]
* modest_text_utils_get_display_date:
  - use the localized (%X) display date
* _modest_header_view_compact_header_cell_data
  - don't try to display the date when it's zero

pmo-trunk-r2233

16 years agoAdded useful debug output to help us figure out the no-messages bug.
Murray Cumming [Thu, 14 Jun 2007 12:52:45 +0000 (12:52 +0000)]
Added useful debug output to help us figure out the no-messages bug.

pmo-trunk-r2232

16 years ago * Fixed a memory leak with mail operations that issued progress information
Sergio Villar Senin [Thu, 14 Jun 2007 12:42:44 +0000 (12:42 +0000)]
* Fixed a memory leak with mail operations that issued progress information
* Fixed a memory leak in the progress object
* Fixes NB#59461, now it's possible to navigate between messages in the viewer without any main window

pmo-trunk-r2231

16 years ago2007-06-14 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Thu, 14 Jun 2007 12:41:28 +0000 (12:41 +0000)]
2007-06-14  Murray Cumming  <murrayc@murrayc.com>

* src/widgets/modest-folder-view.c: (filter_row):
Explictly filter out the per-account outbox accounts. I don't know why
these only sometimes show up, but now they should never show up in the UI.
This should fix projects.maemo.org bug NB#60160.

pmo-trunk-r2230

16 years ago * Added libhildonnotify-dev and libnotify-dev the control-maemo1 file.
Dirk-Jan C. Binnema [Thu, 14 Jun 2007 11:42:33 +0000 (11:42 +0000)]
  * Added libhildonnotify-dev and libnotify-dev the control-maemo1 file.

pmo-trunk-r2228

16 years agodo this properly.
Murray Cumming [Thu, 14 Jun 2007 10:40:20 +0000 (10:40 +0000)]
do this properly.

pmo-trunk-r2227

16 years ago2007-06-14 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Thu, 14 Jun 2007 10:38:15 +0000 (10:38 +0000)]
2007-06-14  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/modest-main-window.c: (set_toolbar_mode): Prevent a warning
        when the toolbar does not exist yet.
        * src/modest-widget-memory.c: (save_settings_header_view):
        Added g_warnings() to help us to discover when we are trying to set
        an empty columns list in gconf.

pmo-trunk-r2226

16 years ago* src/modest-text-utils.c:
Jose Dapena Paz [Thu, 14 Jun 2007 10:36:29 +0000 (10:36 +0000)]
* src/modest-text-utils.c:
        * Now _quote functions add signature to the end if
          available (fixes NB#58181).

pmo-trunk-r2225

16 years ago2007-06-14 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Thu, 14 Jun 2007 10:22:39 +0000 (10:22 +0000)]
2007-06-14  Murray Cumming  <murrayc@murrayc.com>

* src/modest-init.h:
        * src/modest-init.c:
        Added modest_init_get_default_header_view_column_ids().

        * src/modest-widget-memory.c: (restore_settings_header_view):
        Use the new function to get defaults, if the gconf key is empty,
        instead of not creating any columns. This seems to fix the
        empty right-hand pane problems.

        * src/widgets/modest-header-view.h: Improved documentation.

pmo-trunk-r2224

16 years agoWork for making select all work as expected in
Jose Dapena Paz [Thu, 14 Jun 2007 10:13:38 +0000 (10:13 +0000)]
Work for making select all work as expected in
message view (body). Fixes NB#58104.
* src/widgets/modest-msg-view.[ch]:
        * New method ..._grab_focus, that grabs the
          focus on the body.
* src/modest-msg-view-window.c:
        * Use new method modest_msg_view_grab_focus to
          put the default focus instead of just using
          gtk_widget_grab_focus. This should fix the
          default focus when the window is created (that
          should be in the message body).
* src/modest-ui-actions.c:
        * Add an implementation of select all for
          gtkhtml widgets.

pmo-trunk-r2223

16 years ago* src/modest-formatter.[ch]:
Jose Dapena Paz [Thu, 14 Jun 2007 09:50:42 +0000 (09:50 +0000)]
* src/modest-formatter.[ch]:
        * New API to create modest new messages. Method
          modest_formatter_create_message creates a message
          with the expected multiparts.
          modest_formatter_create_body_part obtains a new
          body part to add body contents.
        * The new API is used now in modest_formatter_do
          and modest_formatter_attach.
* src/modest-tny-msg.c:
        * (modest_tny_msg_new, modest_tny_msg_new_html_plain,
          add_body_part, add_html_body_part, add_attachments,
          create_reply_forward_mail) Uses the new ModestFormatter
          API to create specific modest formatted messages. This
          should make creation of messages with attachments and
          alternatives work far better.
        * (modest_tny_msg_create_forward_msg): silly bug creating
          the attachments list removed.
* src/modest-mail-operation.c:
        * Removes a warning on sending new mails without priority
          set.

pmo-trunk-r2222

16 years ago* always check accounts are set up before opening the editor; if none are
Dirk-Jan C. Binnema [Thu, 14 Jun 2007 09:32:36 +0000 (09:32 +0000)]
* always check accounts are set up before opening the editor; if none are
  specified, open the account wizard
* make sure the editor cannot be opened with a NULL account
* Fixes: NB#55368

pmo-trunk-r2221

16 years ago * Do not select the INBOX until the widget is not already mapped, because it could...
Sergio Villar Senin [Thu, 14 Jun 2007 09:01:03 +0000 (09:01 +0000)]
* Do not select the INBOX until the widget is not already mapped, because it could cause some issues

pmo-trunk-r2220

16 years ago * Removed the code that checks the message count before refreshing, the message...
Sergio Villar Senin [Thu, 14 Jun 2007 06:52:13 +0000 (06:52 +0000)]
* Removed the code that checks the message count before refreshing, the message count at that point is not correct. It is located in the callback of the refresh function
* The first INBOX folder is now selected again when starting the application

pmo-trunk-r2219

16 years ago* set the default paned pos for the main window to something sane
Dirk-Jan C. Binnema [Wed, 13 Jun 2007 16:58:18 +0000 (16:58 +0000)]
* set the default paned pos for the main window to something sane

pmo-trunk-r2218

16 years ago2007-06-13 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Wed, 13 Jun 2007 16:54:11 +0000 (16:54 +0000)]
2007-06-13  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
        Revert the use of the display name as the account name, because this
        is generally wrong and would break the code that follows.

pmo-trunk-r2217

16 years ago* compile fix
Dirk-Jan C. Binnema [Wed, 13 Jun 2007 16:25:14 +0000 (16:25 +0000)]
* compile fix

pmo-trunk-r2216

16 years ago* some fixes towards fixing the right-hand-pane-empty problem
Dirk-Jan C. Binnema [Wed, 13 Jun 2007 16:18:22 +0000 (16:18 +0000)]
* some fixes towards fixing the right-hand-pane-empty problem
  - save/restore header before/after changing folder
  - special casing for guessing the local-folder-type; this makes outbox/sent now show the correct headers (ie. To:, Sent: instead of From:,Received:)
  - fix some weirdness in modest-widget-memory (reading -1 into a guint...)

pmo-trunk-r2215

16 years ago2007-06-13 Johannes Schmid <johannes.schmid@openismus.com>
Johannes Schmid [Wed, 13 Jun 2007 16:14:17 +0000 (16:14 +0000)]
2007-06-13  Johannes Schmid <johannes.schmid@openismus.com>

* src/maemo/easysetup/modest-easysetup-wizard.c:
(check_for_supported_auth_methods), (on_before_next),
(create_account):

More correct fix for projects.maemo.org bug NB# 58991
Do not longer accept AUTH_PASSWORD as secure method and choose
correct method when creating the account.

pmo-trunk-r2214

16 years ago * Updated the changelog with the fixes done on 2007.06.13 18:00
Dirk-Jan C. Binnema [Wed, 13 Jun 2007 15:38:54 +0000 (15:38 +0000)]
  * Updated the changelog with the fixes done on 2007.06.13 18:00

pmo-trunk-r2212

16 years ago2007-06-13 Johannes Schmid <johannes.schmid@openismus.com>
Johannes Schmid [Wed, 13 Jun 2007 15:01:04 +0000 (15:01 +0000)]
2007-06-13  Johannes Schmid <johannes.schmid@openismus.com>

* src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
Fixed projects.maemo.org bug NB# 58991

pmo-trunk-r2211

16 years ago2007-06-13 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Wed, 13 Jun 2007 14:51:09 +0000 (14:51 +0000)]
2007-06-13  Murray Cumming  <murrayc@murrayc.com>

* src/modest-init.c: (modest_init_init_core),
(modest_init_local_folders): Fixed compilation errors.

pmo-trunk-r2210

16 years agoA few small fixes for the modest-search feature
Philip Van Hoof [Wed, 13 Jun 2007 14:49:12 +0000 (14:49 +0000)]
A few small fixes for the modest-search feature

pmo-trunk-r2209

16 years ago2007-06-13 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Wed, 13 Jun 2007 13:46:12 +0000 (13:46 +0000)]
2007-06-13  Murray Cumming  <murrayc@murrayc.com>

* libmodest-dbus-client/libmodest-dbus-client-1.0.pc.in:
Remove unnecessary lib/include, though it is good in principle when needed.

* src/modest-init.c: (modest_init_one_local_folder),
(modest_init_local_folders):
* src/modest-init.h: Initialize the .modest library for memory cards,
instead of just doing nothing for them. This should allow us to create
folders there, fixing projects.maemo.org bug NB#59297.

pmo-trunk-r2208

16 years ago * Follow the 30/70 rule for the main paned separation position when there is no...
Sergio Villar Senin [Wed, 13 Jun 2007 13:35:31 +0000 (13:35 +0000)]
* Follow the 30/70 rule for the main paned separation position when there is no configuration set

pmo-trunk-r2207

16 years ago * Moved back the contents style code to the UI actions
Sergio Villar Senin [Wed, 13 Jun 2007 13:19:19 +0000 (13:19 +0000)]
* Moved back the contents style code to the UI actions

pmo-trunk-r2205

16 years ago2007-06-13 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Wed, 13 Jun 2007 12:50:33 +0000 (12:50 +0000)]
2007-06-13  Murray Cumming  <murrayc@murrayc.com>

* libmodest-dbus-client/libmodest-dbus-client.c:
        (libmodest_dbus_client_send_mail), (libmodest_dbus_client_mail_to),
        (libmodest_dbus_client_compose_mail),
        (libmodest_dbus_client_open_message),
        (libmodest_dbus_client_send_and_receive),
        (libmodest_dbus_client_open_default_inbox):  Improved debug messages.

        * src/dbus_api/modest-dbus-callbacks.c: (find_message_by_url),
        (on_idle_open_message), (modest_dbus_req_handler),
        (search_result_to_message), (modest_dbus_req_filter):
        * src/modest-search.c: (add_hit), (modest_search_folder),
        (modest_search_all_accounts): Improved debug messages.

        * tests/dbus_api/test_open_message.c: (main): Improved comments.

        * src/modest-tny-account-store.c:
        (modest_tny_account_store_get_tny_account_by): Initialize a variable to
        fix the build.

pmo-trunk-r2202

16 years agoComment 'msg-sending' signal handler, waiting for patch approval
Javier Fernandez Garcia-Boente [Wed, 13 Jun 2007 11:15:49 +0000 (11:15 +0000)]
Comment 'msg-sending' signal handler, waiting for patch approval
on tinymail camel send queues.

pmo-trunk-r2200

16 years ago * Fixes NB#59753, the account that is created is now visible if it's the unique...
Sergio Villar Senin [Wed, 13 Jun 2007 11:03:46 +0000 (11:03 +0000)]
* Fixes NB#59753, the account that is created is now visible if it's the unique account
* The visible account key is removed if the currently visible account is deleted
* the View->AccountX option to view a particular account works again
* Fixed a bug when opening messages that are already opened
* The folder view now listens to account-remove signal
* refactored modest_tny_account_store_get_tny_account_by_* in a single function
* Fixed a bug when removing the visible account, now the default one is selected as the new visible account

pmo-trunk-r2198

16 years agoInitialization improvements
Philip Van Hoof [Wed, 13 Jun 2007 10:50:40 +0000 (10:50 +0000)]
Initialization improvements

pmo-trunk-r2197

16 years ago* Fixed bug in _selected_msg_sent_in_progress function,
Javier Fernandez Garcia-Boente [Wed, 13 Jun 2007 09:15:01 +0000 (09:15 +0000)]
* Fixed bug in _selected_msg_sent_in_progress function,
cause an invalid g_free over an TnyIterator object.

pmo-trunk-r2196

16 years ago* Remove a g_return_if_fail in _selected_msg_sent_in_progress because
Javier Fernandez Garcia-Boente [Wed, 13 Jun 2007 09:02:33 +0000 (09:02 +0000)]
* Remove a g_return_if_fail in _selected_msg_sent_in_progress because
this function is allowed now for both, main and msg view window.

pmo-trunk-r2195

16 years ago* Added two new signal handlers to detect when messages are bieng processed to be...
Javier Fernandez Garcia-Boente [Wed, 13 Jun 2007 08:48:42 +0000 (08:48 +0000)]
* Added two new signal handlers to detect when messages are bieng processed to be sent
and when they have been finnaly sent.
* Add new dimming rules to detect sending operation in progress.
* Fixes: NB#60176

pmo-trunk-r2194

16 years agoInitialization speedup
Philip Van Hoof [Wed, 13 Jun 2007 08:32:41 +0000 (08:32 +0000)]
Initialization speedup

pmo-trunk-r2193

16 years ago* Added a new function to check selected folder is an MMC or POP root.
Javier Fernandez Garcia-Boente [Wed, 13 Jun 2007 06:59:20 +0000 (06:59 +0000)]
* Added a new function to check selected folder is an MMC or POP root.
* Fixes: NB#59433

pmo-trunk-r2191

16 years ago * updated the changelog
Dirk-Jan C. Binnema [Tue, 12 Jun 2007 16:33:43 +0000 (16:33 +0000)]
  * updated the changelog

pmo-trunk-r2189

16 years ago2007-06-12 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Tue, 12 Jun 2007 16:19:29 +0000 (16:19 +0000)]
2007-06-12  Murray Cumming  <murrayc@murrayc.com>

* src/modest-tny-account-store.c: (get_server_accounts):
        Call modest_tny_local_folders_account_add_merged_outbox_folders()
        even when there are no accounts, so that the Outbox folder is always
        visible. This fixes projects.maemo.org bug NB#60158.

pmo-trunk-r2188

16 years ago * Updated the changelog with the lates fixes and know issues.
Dirk-Jan C. Binnema [Tue, 12 Jun 2007 16:15:22 +0000 (16:15 +0000)]
  * Updated the changelog with the lates fixes and know issues.

pmo-trunk-r2187

16 years ago* Fixes: NB#60332
Javier Fernandez Garcia-Boente [Tue, 12 Jun 2007 15:33:47 +0000 (15:33 +0000)]
* Fixes: NB#60332

pmo-trunk-r2186

16 years agoFixes: NB#60186
Javier Fernandez Garcia-Boente [Tue, 12 Jun 2007 15:17:11 +0000 (15:17 +0000)]
Fixes: NB#60186

pmo-trunk-r2185

16 years agoI forgot to upload this file.
Javier Fernandez Garcia-Boente [Tue, 12 Jun 2007 14:32:29 +0000 (14:32 +0000)]
I forgot to upload this file.

pmo-trunk-r2184

16 years ago* Fixed bug in empty_view of headers treeview when selected folder is empty.
Javier Fernandez Garcia-Boente [Tue, 12 Jun 2007 14:29:46 +0000 (14:29 +0000)]
* Fixed bug in empty_view of headers treeview when selected folder is empty.
* Fixes: NB#60141, NB#60144

pmo-trunk-r2183

16 years agoInitialization speedups
Philip Van Hoof [Tue, 12 Jun 2007 14:16:46 +0000 (14:16 +0000)]
Initialization speedups

pmo-trunk-r2182

16 years ago * Fixed a bug when trying to launch modest without accounts
Sergio Villar Senin [Tue, 12 Jun 2007 14:14:54 +0000 (14:14 +0000)]
* Fixed a bug when trying to launch modest without accounts

pmo-trunk-r2181

16 years ago2007-06-12 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Tue, 12 Jun 2007 13:58:34 +0000 (13:58 +0000)]
2007-06-12   Murray Cumming  <murrayc@murrayc.com>

* src/maemo/modest-main-window.c: (create_details_widget):
        Use the mcen_va_never logical ID.

pmo-trunk-r2180

16 years ago2007-06-12 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Tue, 12 Jun 2007 11:25:18 +0000 (11:25 +0000)]
2007-06-12  Murray Cumming  <murrayc@murrayc.com>

* src/dbus_api/modest-dbus-api.h:
        * src/dbus_api/modest-dbus-callbacks.c:
        (on_idle_open_default_inbox), (on_open_default_inbox),
        (modest_dbus_req_handler):
        Added a new OpenDefaultInbox method.

        * libmodest-dbus-client/libmodest-dbus-client.h:
        * libmodest-dbus-client/libmodest-dbus-client.c:
        Added libmodest_dbus_client_open_default_inbox() to call the new
        dbus method. This should be useful to projects.maemo.org bug NB#57214,
        though it should maybe be used by a new osso-email-interface function.

        * tests/dbus_api/Makefile.am:
        * tests/dbus_api/test_open_default_inbox.c: Added a test for the new
        function.

pmo-trunk-r2179

16 years ago2007-06-12 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Tue, 12 Jun 2007 10:46:25 +0000 (10:46 +0000)]
2007-06-12  Murray Cumming  <murrayc@murrayc.com>

* src/modest-account-mgr.c: (on_key_change): Append to the list, not to
NULL, so that the signals get all the keys. This should not actually
change any behaviour because we currently update everything when anything
changes.

2007-06-12  Murray Cumming  <murrayc@murrayc.com>

* src/widgets/modest-folder-view.c: (text_cell_data),
(icon_cell_data), (filter_row), (on_selection_changed), (cmp_rows),
(find_inbox_iter): If tinymail tells us that the folder is
a non-specific TNY_FOLDER_TYPE_NORMAL then do an extra check on the name.
This causes the inbox to be selected at startup, fixing part of
projects.maemo.org bug NB#56305.

* src/modest-ui-dimming-rules.c:
(modest_ui_dimming_rules_on_tools_smtp_servers):
* src/modest-ui-dimming-rules.h: Added a callback function to dim
the SMTP servers menu item.
* src/maemo/modest-main-window-ui-dimming.h: Used the function, so
that the SMTP Servers menu item is dimmed when there are no accounts,
as a future version of the UI spec will require. This fixes
projects.maemo.org bug NB#56305.

pmo-trunk-r2178

16 years ago* remove my debug g_warnings from modest_tny_account_store
Dirk-Jan C. Binnema [Tue, 12 Jun 2007 10:37:55 +0000 (10:37 +0000)]
* remove my debug g_warnings from modest_tny_account_store

pmo-trunk-r2177

16 years ago* small cosmetic cleanups, leak fix for modest_account_mgr_set_first_account_as_default
Dirk-Jan C. Binnema [Tue, 12 Jun 2007 10:36:32 +0000 (10:36 +0000)]
* small cosmetic cleanups, leak fix for modest_account_mgr_set_first_account_as_default

pmo-trunk-r2176

16 years ago* use modest_account_mgr_set_first_account_as default; remove dupl code
Dirk-Jan C. Binnema [Tue, 12 Jun 2007 10:34:12 +0000 (10:34 +0000)]
* use modest_account_mgr_set_first_account_as default; remove dupl code

pmo-trunk-r2175

16 years ago* no need to set a new default account explicitely anymore
Dirk-Jan C. Binnema [Tue, 12 Jun 2007 10:32:57 +0000 (10:32 +0000)]
* no need to set a new default account explicitely anymore

pmo-trunk-r2174

16 years ago* set a new default account when removing the current one
Dirk-Jan C. Binnema [Tue, 12 Jun 2007 10:31:24 +0000 (10:31 +0000)]
* set a new default account when removing the current one

pmo-trunk-r2173

16 years ago* add libnotify dep
Dirk-Jan C. Binnema [Tue, 12 Jun 2007 10:29:19 +0000 (10:29 +0000)]
* add libnotify dep

pmo-trunk-r2172

16 years ago* src/maemo/modest-msg-view-window.c:
Jose Dapena Paz [Tue, 12 Jun 2007 09:31:02 +0000 (09:31 +0000)]
* src/maemo/modest-msg-view-window.c:
        * Now it updates the window title with the subject (fixes NB#58040).

pmo-trunk-r2171

16 years ago* src/maemo/modest-msg-view-window.c:
Jose Dapena Paz [Tue, 12 Jun 2007 08:31:31 +0000 (08:31 +0000)]
* src/maemo/modest-msg-view-window.c:
        * Added insensitive press handlers for view attachment and save attachment
        * Now Find Toolbar sets focus on itself on being shown.

pmo-trunk-r2170

16 years ago * Fixed a reference leak in the main window
Sergio Villar Senin [Tue, 12 Jun 2007 08:09:04 +0000 (08:09 +0000)]
* Fixed a reference leak in the main window
* The update_model function of the folder view is now public
* The main window now unregisters some signals that was causing a lot of problems
* The Move to dialog now shows contents even if the main window do not exists. Fixes NB#59468

pmo-trunk-r2169

16 years ago * The open menu item of the header view CSM now opens a message. Fixes NB#60246
Sergio Villar Senin [Tue, 12 Jun 2007 07:10:41 +0000 (07:10 +0000)]
* The open menu item of the header view CSM now opens a message. Fixes NB#60246

pmo-trunk-r2168

16 years ago * Updated the changelog with fixes made on Week 24 day 2
Dirk-Jan C. Binnema [Tue, 12 Jun 2007 07:00:21 +0000 (07:00 +0000)]
  * Updated the changelog with fixes made on Week 24 day 2

pmo-trunk-r2167

16 years ago* add a forgotten g_object_uref(iter) to _modest_ui_actions_open
Dirk-Jan C. Binnema [Tue, 12 Jun 2007 06:49:36 +0000 (06:49 +0000)]
* add a forgotten g_object_uref(iter) to _modest_ui_actions_open

pmo-trunk-r2166

16 years ago2007-06-11 Johannes Schmid <johannes.schmid@openismus.com>
Johannes Schmid [Mon, 11 Jun 2007 21:21:33 +0000 (21:21 +0000)]
2007-06-11  Johannes Schmid <johannes.schmid@openismus.com>

* src/maemo/modest-maemo-utils.c:
(modest_maemo_utils_get_supported_secure_authentication_methods):
Added label to dialog instead of unreadable title

* src/maemo/modest-main-window.c: (sync_accounts_cb),
(modest_main_window_new):
Fixed projects.maemo.org bug NB#58576 by moving previous fix out of
dead code.

* src/modest-account-mgr.c: (modest_account_mgr_has_accounts):
* src/modest-account-mgr.h:
Added method to avoid code duplication

* src/modest-ui-actions.c: (modest_ui_actions_on_accounts),
(modest_ui_actions_on_send_receive):
Use modest_account_mgr_has_accounts

pmo-trunk-r2165

16 years ago* fix crasher when cancelling all operations ('operations_to_cancel' needs to be...
Dirk-Jan C. Binnema [Mon, 11 Jun 2007 17:08:21 +0000 (17:08 +0000)]
* fix crasher when cancelling all operations ('operations_to_cancel' needs to be initialized)

pmo-trunk-r2164

16 years ago2007-06-11 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Mon, 11 Jun 2007 16:50:17 +0000 (16:50 +0000)]
2007-06-11  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/easysetup/modest-presets.c:
        (modest_presets_get_info_server_security): Do not report secure auth
        if there is none.
        * src/modest-protocol-info.c: Use the defines for the gconf key names
        for secure authentication. This was not working because we were writing
        Password and reading password, and the check was case sensitive.
        With this, gmail now works for receiving and sending when created via
        easysetup.

pmo-trunk-r2163

16 years ago* do a disconnect/reconnect with pop-servers upon send-receive, as they may not repor...
Dirk-Jan C. Binnema [Mon, 11 Jun 2007 16:28:08 +0000 (16:28 +0000)]
* do a disconnect/reconnect with pop-servers upon send-receive, as they may not report new messages otherwise. needs the latest tinymail

pmo-trunk-r2162

16 years ago* do some extra checking to prevent a random segfault sometimes; small cleanup
Dirk-Jan C. Binnema [Mon, 11 Jun 2007 16:26:20 +0000 (16:26 +0000)]
* do some extra checking to prevent a random segfault sometimes; small cleanup

pmo-trunk-r2161

16 years ago* in some cases, cancel_all would core, apparently because cur->data was invalid.
Dirk-Jan C. Binnema [Mon, 11 Jun 2007 16:25:03 +0000 (16:25 +0000)]
* in some cases, cancel_all would core, apparently because cur->data was invalid.
  now, we don't crash, but give an error on stderr instead

pmo-trunk-r2160

16 years ago* some crash fixes - in some cases, modest core'd because of errors when copying...
Dirk-Jan C. Binnema [Mon, 11 Jun 2007 16:23:20 +0000 (16:23 +0000)]
* some crash fixes - in some cases, modest core'd because of errors when copying/moving

pmo-trunk-r2159

16 years ago * Updated the changelog with fixes made on Week 24 day 01.
Dirk-Jan C. Binnema [Mon, 11 Jun 2007 15:48:29 +0000 (15:48 +0000)]
  * Updated the changelog with fixes made on Week 24 day 01.

pmo-trunk-r2158

16 years agoMurray Cumming <murrayc@murrayc.com>
Murray Cumming [Mon, 11 Jun 2007 15:43:20 +0000 (15:43 +0000)]
Murray Cumming  <murrayc@murrayc.com>

pmo-trunk-r2157