2007-07-11 Murray Cumming <murrayc@murrayc-desktop>
[modest] / ChangeLog2
index a9a9ae2..3c5d445 100644 (file)
@@ -1,3 +1,57 @@
+2007-07-11  Murray Cumming  <murrayc@murrayc-desktop>
+
+       * src/modest-main.c: (main): Only show the UI at the start if 
+       the showui command line option was given. For instance,
+       run-standalone src/modest showui
+       Otherwise, we wait for the top_application D-Bus method to 
+       be sent by hildon-desktop when the application is selected 
+       from the menu.
+       This allows us to run without a UI when osso-global-search 
+       uses our D-Bus methods.
+
+2007-07-11  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/dbus_api/modest-dbus-api.h: Added a define for a 
+       top-application D-Bus method.
+       * src/dbus_api/modest-dbus-callbacks.c: 
+       (on_top_application),
+       (modest_dbus_req_handler): Handle the top-application D-Bus 
+       method, which might be an undocumented D-Bus signal sent by 
+       hildon-desktop when it starts the application from the menu.
+       But I am not sure and I need to test it on the device, because 
+       my scratchbox does not have the application in the menu now.
+       This method shows the main window, so that it can be invisible 
+       when started, for instance, just for email searching from 
+       osso-global-search.
+
+       * src/maemo/modest-main-window.c: (restore_settings),
+       (modest_main_window_new): Do not show the window immediately 
+       upon creation. We show it later.
+       * src/modest-widget-memory.c: (save_settings_paned):
+       Try (unsuccessfully) to avoid saving the paned position when 
+       it is not even visible. 
+       (restore_settings_paned): Do not allow a silly paned position.
+       This seems necessary when not showing the window at first.
+
+       * tests/dbus_api/Makefile.am:
+       * tests/dbus_api/test_top_application.c: (main): Test for the 
+       new D-Bus method.
+
+2007-07-10  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-ui-dimming-rules.c:
+       (modest_ui_dimming_rules_on_new_msg),
+       (modest_ui_dimming_rules_on_reply_msg),
+       (modest_ui_dimming_rules_on_delete_msg),
+       (modest_ui_dimming_rules_on_details),
+       (modest_ui_dimming_rules_on_view_window_move_to),
+       (modest_ui_dimming_rules_on_view_previous),
+       (modest_ui_dimming_rules_on_view_next),
+       (_invalid_folder_for_purge): Added checks before 
+       casting the window. This looks like an actual 
+       logic error in _invalid_folder_for_purge(), because it 
+       tries to use a ModestMainWindow as a message window.
+
 2007-07-10  Murray Cumming  <murrayc@murrayc.com>
 
        * src/maemo/modest-account-settings-dialog.c: