Removed gnome/ directory Added empty gtk/ directory Fixed build of tests
Use GTK+ single includes Only modified the files needed by the Gnome version of modest
Changed g_log levels in all app. Idea is reducing the number of debug messages if modest is not built for showing debug.
GNOME version compiles again. It does not link yet though, because there are some undefined functions pmo-trunk-r7031
* src/gnome/modest-account-assistant.[ch]: * Now it inherits from ModestWizardDialog * Save account after edition. * Finish implementation of controls. * Layout fixes. * src/gnome/modest-account-view-window.c: * Use same confirmation dialog for removing accounts we use in maemo. * Make dialog really close when finished. * Show account wizard on pressing new account. * Properly start dimming of account view. * src/gnome/modest-msg-edit-window.c: * Fix build. * src/gnome/modest-platform.c: * Use new account assistant. * Use new account settings dialog. * Some build fixes. * src/gnome/modest-account-settings-dialog.c: * Remove unused private area. * Remove scrolled windows in dialog tabs (to avoid the strange grey area surronding fields). * Dim fields that can break message cache. * src/gnome/modest-main-window.c: * Save messages paned position. * src/gnome/modest-gnome-global-settings-dialog.c: * Remove separator * Some layout fixes. * Now we retrieve configuration from modest conf, and we also store it back properly. * Now we properly use the updatable fields in common global settings dialog private area. * Now we set the dialog action buttons using gnome stocks. * src/widgets/modest-header-view.c: * Cell renderers fixed size only used in maemo platform. * Moved src/maemo/easysetup/modest-wizard-dialog.[ch] to src/widgets. * Specific maemo and gnome code (in gnome we use stocks buttons). * src/widgets/modest-global-settings-dialog.c: * Now dialog buttons are created in specific implementations. This way we get maemo buttons or gnome stock buttons depending on the platform. * src/widgets/Makefile.am, src/maemo/easysetup/Makefile.am: * Now wizard dialog is in widgets directory. * src/modest-init.c: * Added default value for msg paned. * src/maemo/modest-maemo-global-settings-dialog.c: * Now we create the action buttons in platform implementations. * src/maemo/easysetup/modest-easysetup-wizard-dialog.h: * Use the new path for wizard dialog include. pmo-trunk-r4637
* Fixes NB#85060, show the password dialog whenever the password is not defined and we're sending mails when only the editor is opened pmo-trunk-r4594
* Fixes NB#85574, show the folders help only when selecting it in the CSMs. The Toolbar Help option shows the generic window help pmo-trunk-r4537
* Several fixes for the GNOME version pmo-trunk-r4457
* src/gnome/modest-account-view-window.c: * Now it's a GtkDialog. Fits better with common and maemo code. * Close button is now implemented as an action button of the dialog. * Added scrolled window to accounts tree view. It also provides a border (better HIG compliance). * Other layout changes to fit better HIG. * Use translation strings from modest.po. * src/gnome/modest-main-window-ui.h * Add more maemo standard menu actions. * src/gnome/modest-msg-edit-window.c: * Some changes to improve HIG compliance. * Scrolled window for message. * Not it's gtkhtml based. * It's a WIP, no menus working and a lot of issues not tested yet. But it's a preliminar work for the future gnome editor. * src/gnome/modest-platform.c: * Now folder view does not get headers. * src/gnome/modest-main-window.c: * Added ui dimming rules support. * Added menu option and shortcut for toggling folders view. * Implemented style methods. * Now default view for header view is compact view instead of columns view. * Set toolbar better to set important hint. * Added translation domain for ui manager. * src/gnome/modest-icon-names.h: * Stock for split view. * src/gnome/ui/modest-msg-view-window-ui.xml: * More maemo menus also in modest. * src/gnome/ui/modest-main-window-ui.xml: * More maemo menus also in modest. * src/gnome/modest-msg-view-window.c: * Adaptation to common maemo actions. * Changed layout to fit better with HIG. * Support for ui dimming rules. * Misc changes for fixing build. * src/gnome/modest-account-assistant.c: * WIP. Moving to HIG and adding missing functionality. * Use maemo translation strings where it's ok. * Fix some erros in GtkAssistant usage. * src/modest-init.c: * Now split view is common to gnome and maemo. pmo-trunk-r4120
* Removed ModestGnomeInfoBar and ModestProgressBarWidget * Replaced by a common ModestProgressBar * Added progress information to GNOME client * Fixed API change in tinymail pmo-trunk-r4093
* Fixes regarding the position of the paneds pmo-trunk-r4014
* Fixes NB#78357, new mail sound is played now with IMAP IDLE events pmo-trunk-r3936
These changes are for reenabling build of gnome port. * src/modest-tny-account.[ch]: * New method modest_tny_folder_store_is_remote, coming from a specific maemo modest_platform method. As this does not have any platform specific code, we moved it to a common place. * Use hildon calls only in maemo. * src/modest-platform.h: * Removed method modest_platform_is_network_folderstore, replaced by modest_tny_folder_store_is_remote. * src/modest-tny-platform-factory.c: * As the private area does not have fields, commented it and its initialisation. * src/gnome/modest-main-window-ui.h: * Replaced modest_ui_actions_on_delete with modest_ui_actions_on_delete_message. * src/gnome/modest-account-view-window.c: * Update calls to new api of modest_account_mgr_remove_account. * src/gnome/modest-store-widget.[ch]: * Replaced ModestProtoList with ModestPairList. * Fixed a typo in return types. * src/gnome/modest-address-book.c: * Updated api. * src/gnome/modest-transport-widget.c: * Add auth_protos to the private struct. * src/gnome/modest-msg-edit-window.c: * Use ModestProtoList instead of ModestPairList * Remove references to a msg id. * Update api call to check_names method. * Added implementation of ..._get_child_widget method. * Added stub implementations of reset_modified, toggle_find_toolbar, add_part, redo, offer_attach_file, attach_file_one, set_draft, is_modified, get_clipboard_text, can_redo, can_undo and get_message_uid. * src/gnome/modest-platform.c: * Remove calls to non_implemented method (it does not exists now). * Now show_help method returns void. * Added new methods connect_and_perform, and connect_and_perform_if_network_account. These methods act as it's always connected. * Added stub implementation of remove_new_mail_notification, check_and_wait_for_account_is_online, run_certificate_confirmation_dialog, run_rename_folder_dialog, and show_addressboook. * src/gnome/modest-main-window.c: * Use new TnyMsgView interface based access to msg view. * Prevent a crash as now we initialize the dimming manager. * Added stub implementation for notify_send_receive_initied, send_receive_completed, transfer_mode_enabled, and on_msg_view_window_msg_changed. * src/gnome/modest-gnome-global-settings-dialog.c: * Update internal global settings dialog methods. * src/gnome/modest-icon-names.h: * Add pending icons. * src/gnome/modest-gnome-info-bar.c: * Update progress_change handler api. * src/gnome/modest-msg-view-window.c: * Use modest_ui_actions_on_delete_message instead of ..._on_delete. * Use the TnyMsgView api for accessing the message. * Implementation of modest_msg_view_window_get_header, modest_msg_view_window_get_folder_type. * Stub implementation of last_message_selected, first_message_selected, transfer_mode_enabled, on_transfer_mode, get_attachments, is_search_result and has_headers_model. * src/gnome/modest-account-assistant.c: * Update api calls. * src/widgets/modest-recpt-editor.c: * Protect specific hildon calls with ifdefs. * src/widgets/modest-window.c: * Add a pending include. * src/modest-init.c: * Add a missing gnome vfs include. * Update the stock icons in the list. * src/modest-ui-actions.c: * Remove common dependencies to connection specific smtp window dialog. * Remove all calls to hildon_banner. * Use the new modest_tny_folder_store_is_remote method. * src/maemo/modest-platform.c: * Removed method modest_platform_is_network_folderstore. * src/modest-search.[ch]: * Defined ModestFolderResult and ModestSearchHit here. We provide different structs for dbus. * src/modest-tny-account-store.c: * Use the account settings hash only in maemo. * src/Makefile.am: * Include dbus api only in maemo. * configure.ac: * New conditional for compiling dbus api (which depends on osso, and then, it's maemo speficic). * Makefile.am: * Only compile dbus client if enabled. pmo-trunk-r3810
patch for NB#73896 pmo-trunk-r3563
* src/modest-dimming-rules-group.[ch]: * Added new method modest_dimming_rules_group_add_widget_rule. This method connects a dimming rule to a widget in the group, so that we can connect rules to widgets outside an ui manager. * Refactored some code to add rules to the dimming rules group from the methods add_rules and add_widget_rule. * src/modest-dimming-rule.[ch]: * Now dimming rules can be connected to widgets, not only to ui manager action paths. * Added new methods for getting the action path and connected widget from outside. * src/gnome/modest-main-window.c: * Adapted to change in in modest_main_window_get_child_widget type. * src/widgets/modest-msg-edit-window.h: * Added method modest_msg_edit_window_get_child_widget to access editor widgets from external methods (in particular from ui dimming rules). * Added methods to get can-undo and can-redo status. * src/widgets/modest-msg-edit-window-ui.h: * Added ui action handlers for menu parents, so that we can run dimming rules. * src/widgets/modest-main-window.h: * Changed modest_main_window_get_child_widget types to have a proper namespace (instead of MODEST_WIDGET_TYPE_* now we have MODEST_MAIN_WINDOW_WIDGET_TYPE_*). * src/modest-ui-actions.[ch]: * Adapted calls to modest_main_window_get_child_widget new api. * Added new method modest_ui_actions_on_format_menu_activated, to run the dimming rules on showing the format menu. * src/dbus_api/modest-dbus-callback.c: * Adapted calls to modest_main_window_get_child_widget new api. * src/maemo/modest-msg-edit-window.c: * Removed insensitive handlers, as now they're managed in dimming manager. In particular, we remove methods send_insensitive_press, style_insensitive_press, setup_insensitive_handlers. * Added "move-cursor" signal handler subject_field_move_cursor. This is required because moving cursor in a way that drops selection in a GtkEntry does not change primary clipboard selection. * Removed methods to update dimming status, as this is now managed in dimming manager. In particular we drop update_dimmed, update_paste_dimming, update_remove_attachment_dimming, update_copy_cut_dimming, update_select_all_dimming, update_zoom_dimming, update_send_dimming. * Also removed methods to handle menu activation, as this is now handled in the ui manager. * Added methods to get the can_undo and can_redo status. This is updated through signal handlers of wptextbuffer, as this does not provide a method to check this on real time. * Added signal handler for owner change in default clipboard (required to manage properly paste dimming). * Now we use dimming rules for toolbar, menus and clipboard based actions. We also use specific dimming rule binding for the widgets that we don't get from ui manager (font size and face selection, color selection). * Implementation of new method modest_msg_edit_window_get_child_widget, to access children from outside (in particular from dimming rules). * src/maemo/modest-platform.c: * Adapted calls to modest_main_window_get_child_widget new api. * src/maemo/modest-msg-view-window.c: * Adapted calls to modest_main_window_get_child_widget new api. * src/maemo/modest-main-window.c: * Adapted calls to modest_main_window_get_child_widget new api. * src/modest-ui-dimming-rules.[ch]: * Adapted calls to modest_main_window_get_child_widget new api. * (..._on_select_all): added implementation for editor widget. * (..._on_undo): added implementation for editor widget. * New dimming rule ..._on_redo. * New dimming rule ..._on_set_style, for style operations of message editor. * New dimming rule ..._on_zoom for editor (we can only zoom when focus is on body). * New dimming rule ..._on_editor_paste. This operation depends on clipboard, so it cannot be hooked in menu activation methods. * New dimming rule ..._on_editor_remove_attachment for editor. * New dimming rule ..._on_send for editor. * Added support in _invalid_clipboard_selected for editor. pmo-trunk-r3264
* 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
2007-06-01 Murray Cumming <murrayc@murrayc.com> * src/modest-tny-account-store.c: (recreate_all_accounts), (get_cached_accounts), (get_server_accounts): Do more sensible ref-counting of the temporarily-cached outbox accounts list. This seems to fix a crash when entering the password when the password was wrong. pmo-trunk-r2041
2007-05-22 Murray Cumming <murrayc@murrayc.com> * src/gnome/modest-main-window.c: (on_account_store_connecting_finished), (connect_signals): * src/maemo/modest-main-window.c: (on_account_store_connecting_finished), (connect_signals), (modest_main_window_new): Handle TnyAccountStore::connecting-finished instead of TnyDevice::connection-changed, because we cannot actually perform operations on accounts until TnyAccountStore has itself responded to the TnyDevice::connection-changed signal. This prevents a GError from tinymail. Do not try to update at startup, because we (at least on scratchbox) already do an update at startup when the device goes online. This prevents a GError from tinymail. * src/modest-ui-actions.c: (modest_ui_actions_do_send_receive): Added TODO about stopping simultaneous operations. pmo-trunk-r1945
* Fixed build error in the GNOME UI pmo-trunk-r1821
* Removed debugging ;-) code pmo-trunk-r1749