Sergio Villar Senin [Wed, 11 Apr 2007 17:30:15 +0000 (17:30 +0000)]
* Added code to handle fullscreen mode for the whole application
* Added ModestWindowMgr code
* Added automatic mail operation canceling when closing
* Added closing dialog MSG-NOT308
pmo-trunk-r1547
Dirk-Jan C. Binnema [Wed, 11 Apr 2007 12:00:44 +0000 (12:00 +0000)]
build fixes for maemo
pmo-trunk-r1546
Dirk-Jan C. Binnema [Wed, 11 Apr 2007 11:38:47 +0000 (11:38 +0000)]
build fixes for gnome
pmo-trunk-r1545
Jose Dapena Paz [Wed, 11 Apr 2007 11:11:46 +0000 (11:11 +0000)]
* src/maemo/modest-msg-view-window.c:
* Remove gtk_window_add_accel_group as it wasn't really needed
to attach actions. Should remove a runtime warning.
pmo-trunk-r1544
Jose Dapena Paz [Wed, 11 Apr 2007 10:57:51 +0000 (10:57 +0000)]
* src/maemo/modest-main-window-ui.h:
* Readded add to contacts action, that's different from
"contacts..." action.
* Removed accel actions for up and down, as this is now handled
internally through key events.
pmo-trunk-r1543
Sergio Villar Senin [Wed, 11 Apr 2007 10:06:32 +0000 (10:06 +0000)]
* Removed some files
pmo-trunk-r1542
Dirk-Jan C. Binnema [Wed, 11 Apr 2007 09:53:43 +0000 (09:53 +0000)]
* build fixes for Bora
pmo-trunk-r1541
Jose Dapena Paz [Wed, 11 Apr 2007 08:01:59 +0000 (08:01 +0000)]
* Removed --enable-debug (added with error in previous commit)
pmo-trunk-r1540
Jose Dapena Paz [Wed, 11 Apr 2007 07:59:55 +0000 (07:59 +0000)]
* src/maemo/modest-msg-edit-window.c:
* Commented call to gtk_text_buffer_set_can_paste_rich_text
as it does not exist in gtk 2.10.
* src/maemo/modest-main-window-ui.h:
* Added zoom menu.
* Added callback for message details action.
* Added next/prev message menu actions.
* Added callback for "close window" menu action.
* Added next message, prev message, find in message and move to
actions to toolbar.
* Added toggle action for toggling fullscreen view.
* src/maemo/modest-platform.c:
* Added support for n800 and osso 1.1 implementation switching
of URI handling (n800 uses osso-uri and osso 1.1 uses
hildon-uri).
* Added implementation of modest_platform_activate_uri and
modest_platform_show_uri_popup (both for n800 and osso 1.1).
* Added warning banners for trying to show a popup of an
URI we don't support.
* src/maemo/modest-icon-names.h:
* Added "move to..." icon.
* src/maemo/modest-msg-view-window.c,
src/widgets/modest-msg-view-window.h:
* Added support for adding key accelerators from ui manager.
* Added support for zooming (actions for zoom levels, key
accelerators for hw keys, integration in menu). It uses the
magnification support in gtkhtml.
* Added support for fullscreen (actions for toggling fullscreen,
key accelerator for hw key, integration in menu). It uses the
standard ui action for toggling fullscreen in GtkWindow.
* Added ..._new_with_header_model. This function is used to
add a reference to a header list model. It's used for
implementing next/prev message actions.
* Added support for browsing next/prev messages of the header
model inside (the one the view was opened from). Added also
dimming support of next/prev message actions.
* Refactored toolbar setup to the new get_toolbar function.
* Now toolbar buttons get the whole space with homogeneous
spacing and expandable properties.
* Contextual menu for toolbar button "reply". It shows a menu
with different kinds of reply actions (forward, reply and
reply to all).
* Added "find in message" implementation. It uses
HildonFindToolbar and gtkhtml engine search. It's working
partially, as automatic scroll to the words found is not
working yet.
* Now it sets the priority of the message shown in the message
view, getting the information from the headers list.
* Added support for translation of ui manager actions.
* Added handler for contextual links in message view.
* Dimming support of reply button depending on the folder the
message is opened from.
* src/maemo/ui/modest-msg-view-window-ui.xml:
* Renamed some action names to be the same of main window.
* Added zoom level menu.
* Added fullscreen toggle menu option
* Added next/prev message menu options.
* Added "close all windows" menu option.
* Completed the toolbar layout:
- Added new, move to, find in message, prev message and
next message actions.
- Removed forward and reply to all toolbar buttons, and added
contextual menu for reply (including these actions).
* Added keyboard accelerators for zoom, fullscreen, and scroll.
* src/maemo/ui/modest-main-window-ui.xml:
* Renamed action names
* src/modest-ui-actions.[ch]:
* ..._on_delete closes the window after deletion when used
from ModestMsgView.
* ..._on_quit now calls gtk_main_quit () to really close the
application.
* ..._on_close_window added to implement specific window close.
It's partially implemented now (does not close properly the
main window).
* ..._on_next and ..._on_prev: added support for prev and next
operations in ModestMsgViewWindow (not implemented yet in
Maemo client). It passes a reference to the modesl of the
header list, that the ModestMsgViewWindow should hold to
implement next/prev on the specific model.
* ..._on_header_activate: now it passes the reference of the
header list model to the constructor of ModestMsgViewWindow
(used in implementation of on_next and on_prev).
* ..._on_msg_link_clicked: calls to the new platform function
modest_platform_activate_uri (currently only implemented in
maemo platform).
* Added ..._on_msg_link_contextual action, that's run on
requesting the contextual menu of a link. It calls to the new
modest_platform_show_uri_popup ().
* Added ..._on_change_zoom. This calls to the newly implemented
zoom support in ModestWindow (implemented at least for
ModestMsgViewWindow in maemo).
* Added ..._on_toggle_fullscreen. This toggles fullscreen status
of the window it's called from.
* Added ..._on_message_details. This opens the new message
details dialog.
* src/modest-platform.h:
* Added new function ..._activate_uri for implementing default
uri action handler.
* Added new function ..._show_uri_popup for implementing
contextual menu of an uri.
* src/gnome/modest-platform.c:
* Added skel implementations for ..._activate_uri and
..._show_uri_popup.
* src/gnome/modest-msg-view-window.c:
* Added skel implementations of ..._new_with_header_model,
..._select_next_message and ..._select_previous_message.
* src/widgets/modest-mail-header-view.c:
* Added support for showing the priority of the message. It does
not use the priority in the TnyHeader, but there are methods
for setting it externally.
* Removed bolding of field names.
* Now it get's and expanded parameter in constructor to specify
if it should be expanded on startup.
* src/widgets/modest-msg-view.[ch]:
* Added support for searching in gtkhtml view.
* Added support for showing contextual menus using tap and hold
(only in MAEMO).
* Added support for zooming (using gtkhtml magnification).
* Now it constructs the mail header view expanded.
* Added separator
* Added support for showing priority of messages (it simply sets
the priority of the mail header view).
* src/widgets/modest-window.[ch]:
* Added abstract methods for setting/getting zoom level.
* Added src/widgets/modest-msg-view-details-dialog.[ch]:
* Dialog to show some message properties. Now it's used only
from ModestMsgViewWindow details action.
pmo-trunk-r1539
Dirk-Jan C. Binnema [Wed, 11 Apr 2007 07:21:39 +0000 (07:21 +0000)]
* cleanup icon handling a bit
pmo-trunk-r1538
Dirk-Jan C. Binnema [Wed, 11 Apr 2007 06:59:24 +0000 (06:59 +0000)]
* get rid of our icon caches, use gtk's; now icons are displayed
again in the header view
pmo-trunk-r1537
Dirk-Jan C. Binnema [Wed, 11 Apr 2007 06:34:29 +0000 (06:34 +0000)]
* make package compilable on arm again
* activate the i18n stuff
pmo-trunk-r1536
Dirk-Jan C. Binnema [Tue, 10 Apr 2007 21:32:58 +0000 (21:32 +0000)]
* uncommented valid strings
pmo-trunk-r1535
Dirk-Jan C. Binnema [Tue, 10 Apr 2007 21:32:31 +0000 (21:32 +0000)]
* minor fixes; revert is-default logic for default account
pmo-trunk-r1534
Sergio Villar Senin [Tue, 10 Apr 2007 17:45:18 +0000 (17:45 +0000)]
* Added window manager calls
* Commented some code in the mail operations that should be reviewed
* Added support to automatically unregister windows when destroyed
pmo-trunk-r1533
Dirk-Jan C. Binnema [Tue, 10 Apr 2007 11:37:54 +0000 (11:37 +0000)]
* typo fix: rename recpt-activated into recpt_activated
pmo-trunk-r1532
Dirk-Jan C. Binnema [Tue, 10 Apr 2007 11:36:32 +0000 (11:36 +0000)]
* enable the accounts stuff access through the menu
pmo-trunk-r1531
Dirk-Jan C. Binnema [Tue, 10 Apr 2007 11:35:48 +0000 (11:35 +0000)]
* make the easy setup stuff somewhat working, using real data
pmo-trunk-r1530
Sergio Villar Senin [Tue, 10 Apr 2007 11:02:55 +0000 (11:02 +0000)]
* Added ModestWindowMgr object
* Added ModestWindowMgr singleton stuff
* Added homogeneous toolbar items to the main window
pmo-trunk-r1529
Sergio Villar Senin [Tue, 10 Apr 2007 09:55:04 +0000 (09:55 +0000)]
* Added logical ids to main window menus
pmo-trunk-r1528
Dirk-Jan C. Binnema [Tue, 10 Apr 2007 08:06:25 +0000 (08:06 +0000)]
* build fixes
pmo-trunk-r1527
Dirk-Jan C. Binnema [Tue, 10 Apr 2007 07:13:24 +0000 (07:13 +0000)]
* folder-view, header-view:
- compile fixes
pmo-trunk-r1526
Dirk-Jan C. Binnema [Fri, 6 Apr 2007 13:43:18 +0000 (13:43 +0000)]
* restore gnome building (check for easysetup)
* use the MODEST_PLATFORM_(GNOME|MAEMO) instead of ugly MODEST_PLATFORM_ID
pmo-trunk-r1525
Murray Cumming [Fri, 6 Apr 2007 12:57:03 +0000 (12:57 +0000)]
2007-04-06 Murray Cumming <murrayc@murrayc.com>
* src/maemo/modest-account-settings-dialog.c:
(create_page_incoming),
(modest_account_settings_dialog_set_account_name):
Added comments about the need for new API in ModestAccountMgr to handle the authentication
and secure-connection stuff that is stored in the options GSList* with hard-coded names.
I will do this if nobody else gets there first.
pmo-trunk-r1524
Murray Cumming [Fri, 6 Apr 2007 12:47:15 +0000 (12:47 +0000)]
2007-04-06 Murray Cumming <murrayc@murrayc.com>
* src/maemo/modest-account-settings-dialog.c: (save_configuration):
Saved much of the incoming and outgoing data too, though I cannot yet see how to
save the security stuff.
pmo-trunk-r1523
Murray Cumming [Fri, 6 Apr 2007 12:23:31 +0000 (12:23 +0000)]
2007-04-06 Murray Cumming <murrayc@murrayc.com>
* src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
Set the email address and user fullname, which I now see must be
done separately.
* src/maemo/modest-account-settings-dialog.h:
* src/maemo/modest-account-settings-dialog.c:
(on_response),
(modest_account_settings_dialog_set_account_name): Show the email address, fullname,
leave-on-server and authentication.
(save_configuration): Save most of the non-server-account specific stuff, but I don't see
how to do the rest.
pmo-trunk-r1522
Murray Cumming [Fri, 6 Apr 2007 10:32:34 +0000 (10:32 +0000)]
2007-04-06 Murray Cumming <murrayc@murrayc.com>
* src/maemo/modest-account-settings-dialog.c:
* src/maemo/modest-account-settings-dialog.h:
Most (but not all) of the widgets are now present as specified by the UI spec.
No changes are yet saved, and some details are not properly shown yet.
* po/en_GB.po: Added translations for logical IDs used by the Account Settings dialog.
pmo-trunk-r1521
Murray Cumming [Fri, 6 Apr 2007 08:21:32 +0000 (08:21 +0000)]
2007-04-06 Murray Cumming <murrayc@murrayc.com>
* src/maemo/Makefile.am:
* src/maemo/modest-account-settings-dialog.c:
* src/maemo/modest-account-settings-dialog.h: The beginnings of the dialog to edit
an existing account. Doesn't do much yet.
* src/maemo/modest-account-view-window.c: (on_edit_button_clicked):
Open the accounts settings dialog when Edit is clicked.
pmo-trunk-r1520
Murray Cumming [Fri, 6 Apr 2007 08:10:00 +0000 (08:10 +0000)]
Committing so that svn lets me rename
pmo-trunk-r1519
Murray Cumming [Fri, 6 Apr 2007 08:05:43 +0000 (08:05 +0000)]
Committing so that svn lets me rename
pmo-trunk-r1518
Murray Cumming [Thu, 5 Apr 2007 20:18:06 +0000 (20:18 +0000)]
2007-04-05 Murray Cumming <murrayc@murrayc.com>
* src/maemo/easysetup/Makefile.am:
* src/maemo/easysetup/modest-easysetup-country-combo-box.c:
(load_from_file):
* src/maemo/easysetup/modest-easysetup-wizard.c:
(modest_easysetup_wizard_dialog_init):
Try to get the source directory from the build system,
instead of hard-coding ./ into the source code, when opening our local
copies of the configuration files.
But this still fails when opening the wizard from the Accounts window,
maybe because the working directory seems to change at runtime.
So the wizard will fail the second time unless you copy the files into their
proper locations - see the stdout warnings for the paths.
(create_page_account_details),(on_before_next):
Check for existing non-server accounts instead of server accounts,
so the default account name is useful again, and to prevent trying to
recreate accounts.
* src/maemo/modest-account-view-window.c: (on_new_button_clicked):
Show the wizard when New is clicked.
* src/widgets/modest-account-view.c: (on_account_default_toggled),
(init_view): Show the column headers, and show the columns that are
specified in the UI specs. However, something in Maemo's GTK+ prevents
us from handling the GtkCellRendererToggle::toggled signal, so we cannot
change the default account. This is despite unsetting the special properties.
pmo-trunk-r1517
Murray Cumming [Thu, 5 Apr 2007 17:58:43 +0000 (17:58 +0000)]
2007-04-05 Murray Cumming <murrayc@murrayc.com>
* docs/reference/modest-design.sgml: Corrected spelling mistake.
* src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
Create the 2 server accounts and then create the account, using the names of the 2 server accounts.
This seems to be how this should be used. If it is, then I will update the AccountMgr documentation
to make that clearer.
* src/modest-account-mgr.h: Corrected the modest_account_mgr_search_server_account() documentation.
pmo-trunk-r1516
Dirk-Jan C. Binnema [Thu, 5 Apr 2007 14:23:02 +0000 (14:23 +0000)]
* make modest build on both N800(bora) and the OSSO 1.1 target;
there are some differences in Hildon and library names
MODEST_HILDON_VERSION_0 will be defined (config.h) if we are
using the 'old' (bora) hildon.
pmo-trunk-r1515
Dirk-Jan C. Binnema [Thu, 5 Apr 2007 12:20:17 +0000 (12:20 +0000)]
* have the folder view use the right icons for the local folders
* use the right logical ids
* auto-create only the folders we should
* remove some cruft
pmo-trunk-r1514
Murray Cumming [Thu, 5 Apr 2007 12:12:36 +0000 (12:12 +0000)]
2007-04-05 Murray Cumming <murrayc@murrayc.com>
* src/maemo/modest-account-view-window.c:
(modest_account_view_window_init),
(modest_account_view_window_new):
Use the same buttons as specified in the
UI spec. Add the widgets to the vbox and action_area instead of just assigning them to
the existing widgets, which never had a chance of working.
Put the ModestAccountView treeview in a scrolled window.
Do not repeat the initialization in both _init() and _new().
* src/widgets/modest-account-view.c: (update_account_view):
Add a warning about modest_account_mgr_account_names() returning NULL, which is why
this widget and window shows no accounts.
* po/en_GB.po: Added translations needed for the dialog button logical IDs.
pmo-trunk-r1513
Murray Cumming [Thu, 5 Apr 2007 11:32:45 +0000 (11:32 +0000)]
2007-04-05 Murray Cumming <murrayc@murrayc.com>
* src/maemo/easysetup/modest-easysetup-wizard.c:
(set_default_custom_servernames): Avoid a dereference of a destroyed widget.
(create_account): Do a sanity check, showing that modest_account_mgr_account_names()
returns NULL after modest_account_mgr_add_server_account() returned TRUE,
which seems wrong.
* src/maemo/modest-main-window-ui.h: Specify the callback for the Accounts menu item.
* src/modest-ui-actions.c: (modest_ui_actions_on_accounts): Open the wizard if no
accounts exist yet, as in the UI spec.
* src/modest-account-mgr.h: Add TODO comment about a possible memory leak.
pmo-trunk-r1512
Murray Cumming [Thu, 5 Apr 2007 10:48:27 +0000 (10:48 +0000)]
2007-04-05 Murray Cumming <murrayc@murrayc.com>
* src/maemo/Makefile.am:
* src/maemo/modest-connection-specific-smtp-edit-window.c:
* src/maemo/modest-connection-specific-smtp-edit-window.h:
New window for editing connection-specific smtp details.
Not fully implemented.
* src/maemo/modest-connection-specific-smtp-window.c:
(modest_connection_specific_smtp_window_finalize) :
unref the tree model.
(on_button_edit): Show the edit window.
pmo-trunk-r1511
Murray Cumming [Thu, 5 Apr 2007 09:58:33 +0000 (09:58 +0000)]
2007-04-05 Murray Cumming <murrayc@murrayc.com>
* src/Makefile.am: Change sequence of sub-libraries, which fixed an undefined symbol
error for me.
* src/maemo/Makefile.am:
* src/maemo/modest-connection-specific-smtp-window.c:
* src/maemo/modest-connection-specific-smtp-window.h:
New window for showing the list of connections, for connection-specific
SMTP servers. Not fully implemented, because it needs an enhancement to TnyMaemoDevice.
* src/maemo/easysetup/modest-easysetup-wizard.c:
(create_page_custom_outgoing): Show the new window when the button is clicked.
pmo-trunk-r1510
Dirk-Jan C. Binnema [Thu, 5 Apr 2007 08:33:06 +0000 (08:33 +0000)]
* added #defines for MODEST_MMC_ACCOUNT_ID and MODEST_MMC_ACCOUNT_MAILDIR
pmo-trunk-r1507
Murray Cumming [Wed, 4 Apr 2007 16:50:04 +0000 (16:50 +0000)]
2007-04-04 Murray Cumming <murrayc@murrayc.com>
* src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
* src/maemo/easysetup/modest-presets.c: (modest_presets_new):
* src/maemo/modest-msg-edit-window.c:
(modest_msg_edit_window_insert_image):
* src/modest-conf.c: (modest_conf_key_escape):
* src/modest-mail-operation.c:
(modest_mail_operation_send_new_mail):
* src/modest-ui-actions.c: (modest_ui_actions_on_accounts),
(modest_ui_actions_on_new_account):
* src/widgets/modest-attachment-view.c: (update_filename_request):
* src/widgets/modest-mail-header-view.c:
Corrected warnings that were breaking the build, by commenting out unused variables,
and a function, and by including a header.
pmo-trunk-r1506
Dirk-Jan C. Binnema [Wed, 4 Apr 2007 13:57:16 +0000 (13:57 +0000)]
* added -Wno-format-extra-args -Werror to the Maemo CFLAGS;
this should enforce warning-free code, but allow for the
logical ids
pmo-trunk-r1505
Sergio Villar Senin [Wed, 4 Apr 2007 12:53:54 +0000 (12:53 +0000)]
Updated translatable strings
pmo-trunk-r1504
Sergio Villar Senin [Wed, 4 Apr 2007 12:53:22 +0000 (12:53 +0000)]
Replaced some logical id
pmo-trunk-r1503
Sergio Villar Senin [Wed, 4 Apr 2007 11:51:57 +0000 (11:51 +0000)]
* Added the Main Window menus from the specs
pmo-trunk-r1502
Murray Cumming [Wed, 4 Apr 2007 10:12:39 +0000 (10:12 +0000)]
2007-04-04 Murray Cumming <murrayc@murrayc.com>
* configure.ac: Define MODEST_PLATFORM_MAEMO and MODEST_PLATFORM_GNOME in config.h,
so we can #ifdef around platform-specific code when necessary.
* src/modest-ui-actions.c: (modest_ui_actions_on_new_account): Use MODEST_PLATFORM_MAEMO
to allow this to build for the GNOME platform too.
pmo-trunk-r1501
Murray Cumming [Wed, 4 Apr 2007 09:30:54 +0000 (09:30 +0000)]
2007-04-04 Murray Cumming <murrayc@murrayc.com>
* src/maemo/easysetup/modest-easysetup-wizard.c:
Added util_increment_name() and used it in create_page_account_details()
to make sure that the default account name is always a new name.
(modest_easysetup_wizard_dialog_init),
(set_default_custom_servernames): Some minor memory management fixes.
pmo-trunk-r1500
Murray Cumming [Wed, 4 Apr 2007 08:14:01 +0000 (08:14 +0000)]
2007-04-04 Murray Cumming <murrayc@murrayc.com>
* Makefile.am:
* configure.ac:
* src/modest-runtime.c: (init_i18n): Restored the translation
infrastructure, so that GETTEXT_PACKAGE and MODEST_LOCALE_DIR
are defined in config.h, and the translations are installed.
* src/maemo/easysetup/: Include config.h so that GETTEXT_PACKAGE
is defined for translation.
pmo-trunk-r1499
Dirk-Jan C. Binnema [Wed, 4 Apr 2007 07:02:44 +0000 (07:02 +0000)]
* update comment for tightened modest_conf_key_escape
pmo-trunk-r1498
Dirk-Jan C. Binnema [Wed, 4 Apr 2007 07:02:08 +0000 (07:02 +0000)]
* tighten modest_conf_key_escape contract to disallow empty keys;
gconf_key_escape crashes with such keys
pmo-trunk-r1497
Sergio Villar Senin [Tue, 3 Apr 2007 18:39:14 +0000 (18:39 +0000)]
* Main window toolbar is now shown
* Added some more Maemo stock icons
* Added stock icons registration
* Added Context-sensitive menu to the reply toolbar button
pmo-trunk-r1496
Sergio Villar Senin [Tue, 3 Apr 2007 16:30:55 +0000 (16:30 +0000)]
remove duplicated
pmo-trunk-r1495
Murray Cumming [Tue, 3 Apr 2007 15:51:37 +0000 (15:51 +0000)]
2007-04-03 Murray Cumming <murrayc@murrayc.com>
* src/maemo/easysetup/modest-easysetup-country-combo-box.c:
(load_from_file):
* src/maemo/easysetup/modest-easysetup-wizard.c:
(modest_easysetup_wizard_dialog_init):
* src/maemo/easysetup/modest-presets.c: (modest_presets_new):
Use realistic paths (though they should use generically) to the
mcc_mapping and provider-data.keyfile files which might work when they
are installed by the future version of the operator-wizard package,
and then fallback to paths in our source code, with an explanatory
warning.
pmo-trunk-r1494
Sergio Villar Senin [Tue, 3 Apr 2007 15:31:14 +0000 (15:31 +0000)]
Added easysetup dir to configure
pmo-trunk-r1493
Murray Cumming [Tue, 3 Apr 2007 15:10:07 +0000 (15:10 +0000)]
2007-04-03 Murray Cumming <murrayc@murrayc.com>
* configure.ac:
* src/Makefile.am:
* src/maemo/Makefile.am:
* src/maemo/easysetup/: Added files from the previously-exernal
osso-modest-easysetup.
* src/maemo/modest-main-window-ui.h:
* src/modest-ui-actions.c:
* src/modest-ui-actions.h:
Added modest_ui_actions_on_new_account() as a signal handler for the
New Account menu item. It shows the easysetup wizard.
* po/en_GB.po: Added additional needed logical IDs and translations.
Started ChangeLog2 file, because I cannot work without a ChangeLog. murrayc.
Apparently ChangeLog is not used for some vague Nokia legal reasons.
pmo-trunk-r1491
Sergio Villar Senin [Tue, 3 Apr 2007 15:09:38 +0000 (15:09 +0000)]
Temporal fix
pmo-trunk-r1490
Jose Dapena Paz [Tue, 3 Apr 2007 14:58:15 +0000 (14:58 +0000)]
* src/modest-ui-actions.[ch]:
* Added implementation of cut/copy/paste/select all.
* src/maemo/modest-main-window-ui.h,
* Restructured menus to put clipboard actions callbacks,
and make it more compliant with UI specs.
* src/maemo/ui/modest-msg-edit-window-ui.xml,
src/maemo/ui/modest-msg-view-window-ui.xml,
src/maemo/ui/modest-main-window-ui.xml.
* Added clipboard actions menu.
* Restructured menus to put clipboard actions callbacks,
and make it more compliant with UI specs.
* src/maemo/modest-msg-view-window.c:
* Removed shadows of msg view and scrolls
* Added actions to handle clicks, recipients and attachments in
msg view.
* src/gnome/modest-main-window-ui.h:
* Modified actions to make them more similar to maemo client.
* src/gnome/ui/modest-msg-edit-window-ui.xml,
src/gnome/ui/modest-msg-view-window-ui.xml,
src/gnome/ui/modest-main-window-ui.xml.
* Added clipboard actions menu.
* Restructured menus to put clipboard actions callbacks,
and make it more similar to maemo client.
* src/gnome/modest-msg-view-window.c:
* Added clipboard actions, and make it more similar to maemo
client.
* src/widgets/modest-attachment-view.c:
* Fix filename view size calculation. Now it does not ellipsize
if it's not required.
* src/widgets/modest-msg-edit-window-ui.h:
* Added clipboard actions.
pmo-trunk-r1489
Murray Cumming [Tue, 3 Apr 2007 13:36:38 +0000 (13:36 +0000)]
Added files from osso-modest-easysetup
pmo-trunk-r1487
Jose Dapena Paz [Mon, 2 Apr 2007 14:06:41 +0000 (14:06 +0000)]
* configure.ac:
* Moved the wpeditor dependency to the maemo platform dependency list, as
it's only required in this platform.
pmo-trunk-r1472
Sergio Villar Senin [Mon, 2 Apr 2007 11:34:21 +0000 (11:34 +0000)]
* Added wpeditor dependency to configure.ac
* Fixed a problem in the Modest main window
pmo-trunk-r1471
Sergio Villar Senin [Mon, 2 Apr 2007 08:29:13 +0000 (08:29 +0000)]
* Added Progress Object
* Added Gnome info bar
* Ported mail operation calls to the new design
* Removed non-common code from UI actions
pmo-trunk-r1470
Jose Dapena Paz [Sun, 1 Apr 2007 13:03:27 +0000 (13:03 +0000)]
* src/maemo/modest-msg-edit-window.c: added support for rich editing
(using wpeditor library).
* Includes support for toggling bold/italics, adding bullet lists,
inserting images, changing font color, size and face.
* src/maemo/modest-icon-names.h:
* Added icon for bullet lists in edit window.
* src/gnome/modest-icon-names.h:
* Added icon for bullet lists in edit window.
* src/maemo/ui/modest-msg-edit-window-ui.xml:
* Added menu formatting actions (inserting images, alignments, background
color, bullet lists).
* Added toolbar formatting actions (bold, italics, bullet lists), and
a place holder for font properties elements in toolbar.
* src/maemo/ui/modest-msg-view-window-ui.xml:
* Added menu actions for messages (not implemented yet, includes replying,
deleting, and others.
* src/gnome/modest-msg-edit-window.c:
* Modified methods to send mail to support the new API supporting rich text
editting. Anyway the Gnome client does not support this yet.
* src/widgets/modest-mail-header-view.[ch]:
* Now date/time field separates the Time: value as a new field, and it's
always shown independent from being a mail sent another day.
* Preliminar support for showing priority icons in subjects. Now subject is
showin as a GTKHBox, with a first part for priority icon (currently not used)
and a second part for the subject itself.
* Changed order of header fields (recipients in special) to accomplish the
UI specs.
* Added new method to add custom headers (header data implemented with a widget).
This is used for adding attachments list as a header.
* src/widgets/modest-msg-edit-window.h:
* Added support for exposing rich text editing format.
* Added src/widgets/modest-attachment-view.[ch]:
* Widget showing an only attachment, with its size and icon. It's a refactoring
of previous attachments view, splitting in specific widgets each attachment.
* src/widgets/modest-attachments-view.[ch]: big rework of this widget.
* Now the "activated" signal passes a TnyMimePart instead of an attachmetn index.
* Now it's a GtkVBox with the attachments one per line. They include the new
ModestAttachmentView for showing each mime part.
* src/widgets/modest-msg-edit-window-ui.h:
* Added support for rich editing actions.
* src/widgets/Makefile.am:
* Added compilation of new ModestAttachmentView widget.
* src/widgets/modest-msg-view.[ch]:
* Now attachments signal returns a TnyMimePart instead of an index.
* Now attachments are shown as a header, using the new modest_header_view_add_custom_header
method.
* src/modest-tny-msg.[ch]:
* Support for sending html-formatted mails.
* src/modest-mail-operations.[ch]:
* Now ..._send_new_mail gets both plain text and html versions of the message,
to allow sending rich text messages.
* src/modest-runtime.c:
* Add bullet list icons.
* src/modest-main.c:
* Use the new _send_new_mail api supporting rich text messages (sends a NULL html
field, as the command line API is only supporting plain text sends).
* src/modest-ui-actions.[ch]:
* Update on_msg_attachment_clicked, as now it gets a TnyMimePart
instead of an index.
* (modest_ui_actions_on_send): updated to handle rich text messages
(those with html and raw text versions).
* Methods for rich text editor actions: ..._on_toggle_bold,
..._on_toggle_italics, ..._on_toggle_bullets, ..._on_change_justify,
..._on_select_editor_color, ..._on_select_editor_background_color,
..._on_insert_image.
pmo-trunk-r1469
Philip Van Hoof [Fri, 30 Mar 2007 18:25:40 +0000 (18:25 +0000)]
Incrementally filling up while downloading
pmo-trunk-r1468
Sergio Villar Senin [Wed, 21 Mar 2007 10:28:19 +0000 (10:28 +0000)]
* Moved two methods from mail operation API to ModestTnyMsg API
pmo-trunk-r915
Sergio Villar Senin [Tue, 20 Mar 2007 18:38:38 +0000 (18:38 +0000)]
* Removed platform icons from Maemo UI
pmo-trunk-r914
Dirk-Jan C. Binnema [Tue, 20 Mar 2007 13:52:59 +0000 (13:52 +0000)]
* tiny fixes for -Wall and Sardine
pmo-trunk-r913
Sergio Villar Senin [Mon, 19 Mar 2007 09:58:47 +0000 (09:58 +0000)]
* Commented some devive_force_online methods
* Added tap-and-hold activated context menus to Maemo UI
* Fixed the drag and drop issue in the Maemo UI
pmo-trunk-r912
Dirk-Jan C. Binnema [Sat, 17 Mar 2007 12:37:27 +0000 (12:37 +0000)]
* groundwork for dragging to the desktop
pmo-trunk-r911
Dirk-Jan C. Binnema [Sat, 17 Mar 2007 12:36:21 +0000 (12:36 +0000)]
* fix some compiler warnings (-Wall -Werror)
pmo-trunk-r910
Sergio Villar Senin [Fri, 16 Mar 2007 13:41:44 +0000 (13:41 +0000)]
* Various fixes
pmo-trunk-r909
Sergio Villar Senin [Fri, 16 Mar 2007 12:42:07 +0000 (12:42 +0000)]
Added debug check
pmo-trunk-r908
Sergio Villar Senin [Fri, 16 Mar 2007 10:56:51 +0000 (10:56 +0000)]
Added code to fit a DBC assertion
pmo-trunk-r907
Sergio Villar Senin [Thu, 15 Mar 2007 17:38:08 +0000 (17:38 +0000)]
* Fixed some issues of the drag and drop system
pmo-trunk-r906
Jose Dapena Paz [Wed, 14 Mar 2007 17:36:11 +0000 (17:36 +0000)]
* src/widgets/modest-mail-header-view.c:
* Reworked code for bolding labels, to make easier to add
localisation strings from en_GB file.
* Added localisation id strings.
* src/widgets/modest-msg-view.c:
* Better calculation of allocation of headers and html scroll.
This should fix a problem that was making
ModestScrollText scroll buttons show partially.
* src/widgets/modest-attachments-view.c:
* Now clicking on attachment icons also fires attachment
activated event.
pmo-trunk-r905
Jose Dapena Paz [Wed, 14 Mar 2007 14:00:28 +0000 (14:00 +0000)]
* src/widgets/modest-mail-header-view.c:
* If message is a draft, show "Last saved:" instead of "Sent:"
* src/gnome/modest-msg-view-window.c:
* Show subject in window title.
pmo-trunk-r904
Jose Dapena Paz [Wed, 14 Mar 2007 13:07:07 +0000 (13:07 +0000)]
* src/widgets/modest-recpt-view.c:
* Put definitions of static functions at the start of the file.
* src/widgets/modest-msg-view.[ch]:
* Added support for showing shadows (methods
(get|set)_shadow_type).
* Added (get|set)_property implementation.
* src/widgets/modest-scroll-text.c
* Now the scroll text embedded text view is shown as a label
(uses the bg color as base color).
pmo-trunk-r903
Jose Dapena Paz [Wed, 14 Mar 2007 10:12:21 +0000 (10:12 +0000)]
* src/widgets/modest-msg-view.c:
* When we were setting an empty message, we were getting the
previous attachment list in the view. Now the attachments are
correctly updated when we set an empty message (msg == NULL).
pmo-trunk-r902
Dirk-Jan C. Binnema [Wed, 14 Mar 2007 08:25:07 +0000 (08:25 +0000)]
* widgets/:
- fix some compiler warnings
pmo-trunk-r901
Jose Dapena Paz [Tue, 13 Mar 2007 15:12:05 +0000 (15:12 +0000)]
* src/widgets/modest-msg-view.[ch]:
* Completely reworked the scroll support. Now it's
implemented using proper GdkWindow operations
* Now it inherits directly from GtkContainer, and
implements set_scroll_adjustments. This way, it
can be added to a GtkScrolledWindow controlling
its scroll bars.
* Implementation of internal gtk widget methods
for managing the drawing (realize, expose, etc).
* Implementation of internal gtk container methods
for managing children removal.
* It embeds the contents gtkhtml in a scrolled window,
but it always tries to make the scroll be completely
shown in the backing store gdkwindow that provides
scrolls to upper windows.
* src/maemo/modest-msg-view-window.c
* Embed the new msg view with a scrollbar now
it's supported.
* src/gnome/modest-msg-view-window.c
* Embed the new msg view with a scrollbar now
it's supported. Now it does not need a
viewport.
* src/gnome/modest-main-window.c
* Embed the new msg view with a scrollbar now
it's supported. Now it does not need a
viewport.
pmo-trunk-r900
Jose Dapena Paz [Mon, 12 Mar 2007 09:42:50 +0000 (09:42 +0000)]
* Added modest-scroll-text.[ch]
* It's a refactorization from ModestRecptView. Now the feature
"limit the recpt view to two lines" and "scroll line by line"
is in this class.
* It inherits from GtkScrolledWindow, and embeds a GtkTextView
* Generalized to be able to limit the text view to an arbitrary
number of lines (not only 2).
* modest-recpt-view.[ch]
* Updated to inherit/use the new ModestScrollText class.
* modest-mail-header.[ch]
* Now all headers use ModestScrollText (and then they're limited
all to two lines, in special subject).
pmo-trunk-r899
Dirk-Jan C. Binnema [Sun, 11 Mar 2007 10:17:55 +0000 (10:17 +0000)]
* modest-tny-account-store:
- implement the new find_account_func in the TnyAccountStore interface
this is to find the account for a mail, based on its URL
pmo-trunk-r898
Dirk-Jan C. Binnema [Sat, 10 Mar 2007 14:03:51 +0000 (14:03 +0000)]
* fix for compiler warning
pmo-trunk-r897
Dirk-Jan C. Binnema [Sat, 10 Mar 2007 14:03:25 +0000 (14:03 +0000)]
* configure.ac:
- require gtk+2.10 for gnome/
pmo-trunk-r896
Jose Dapena Paz [Fri, 9 Mar 2007 12:39:22 +0000 (12:39 +0000)]
* src/gnome/modest-main-window.c
* Now the msg preview is embedded in a scroll.
* src/gnome/modest-msg-view-window.c
* Now the msg view is embedded in a scroll.
* src/widgets/modest-mail-header-view.c
* Set wrapping mode to label values, in order to
make subject appear completely.
* src/widgets/modest-recpt.view.c
* Changed the way recpt view is set to the first
line, as the previous method wasn't working in
the new msg view.
* src/widgets/modest-msg-view.c
* Added event handling for attachment_activated
signal, using the new ModestAttachmentsView
widget.
* New size requisition/allocation system that
tries to get the correct size to be embedded.
It fails a lot in Gnome. Need a review from a
gtk allocation mage.
* Removed old attachments management code.
pmo-trunk-r895
Dirk-Jan C. Binnema [Wed, 7 Mar 2007 21:10:51 +0000 (21:10 +0000)]
* renamed '_sent' into '_outgoing', as for example Draft message are outgoing
but not sent :)
pmo-trunk-r894
Dirk-Jan C. Binnema [Wed, 7 Mar 2007 21:06:51 +0000 (21:06 +0000)]
* some compile (-Wall -Werror) fixes
* modest-attachment-view should ref the msg argument
pmo-trunk-r893
Jose Dapena Paz [Wed, 7 Mar 2007 11:32:05 +0000 (11:32 +0000)]
* src/widgets/modest-mail-header-view.c:
* Added modest_mail_header_view_update_is_sent. It detects
if the mail is incoming or outcoming using the folder
information.
* Added src/widgets/modest-attachments-view.[ch]:
* New GtkTextView based view for attachments. It shows
attachments as a list of links.
* src/widgets/modest-recpt-view.c:
* Removed warnings that happened on instantiation of
ModestRecptView. The problem was that a GtkScrolledWindow
required to get adjustments in initialisation (even if they
are NULL).
* src/widgets/modest-msg-view.c:
* Modified to use the new ModestAttachmentsView widget, and
removed old attachments_as_html as it's not required now.
* src/widgets/Makefile.am:
* Included modest-attachments-view.[ch]
* src/Makefile.am:
* Now gtk directory is gnome.
pmo-trunk-r892
Dirk-Jan C. Binnema [Wed, 7 Mar 2007 07:39:36 +0000 (07:39 +0000)]
* small fix:
- unref camel object in error path
- added some docu
pmo-trunk-r891
Dirk-Jan C. Binnema [Tue, 6 Mar 2007 21:30:59 +0000 (21:30 +0000)]
* fix small leak
pmo-trunk-r890
Dirk-Jan C. Binnema [Tue, 6 Mar 2007 11:35:23 +0000 (11:35 +0000)]
* add the engineering english PO-file
pmo-trunk-r889
Dirk-Jan C. Binnema [Tue, 6 Mar 2007 08:32:11 +0000 (08:32 +0000)]
* update for tinymail changes
pmo-trunk-r888
Dirk-Jan C. Binnema [Mon, 5 Mar 2007 20:21:03 +0000 (20:21 +0000)]
* fixes for -Wall -Warning
pmo-trunk-r887
Jose Dapena Paz [Mon, 5 Mar 2007 18:22:46 +0000 (18:22 +0000)]
* src/widgets/modest-recpt.view.[ch]:
* Changed a lot the structure. Now it inherits from GtkScrolledWindow,
and contains a GtkTextView (instead of a GtkLabel).
* This scrolled window is limited to two lines. Then this widget includes
internal methods for this, and to manage specific scrollbuttons.
* Removed the calculation of address bounds in a string (it's now in
text utils).
* Added a method modest_recpt_view_set_recipients (), as now we don't
have the GtkLabel API set_text function.
* Migrated the button press/release events handling to use GtkTextView
API.
* Scrollbar button clicks move buffer line by line.
* Now the activate handler passes a string with the recipient list.
* src/widgets/modest-mail-header-view.[ch]:
* Modified recpt view activate handler (now it passes a string with
the activated address, not the recpt view object).
* Updates to fit the new ModestRecptView api (now it's not
a GtkLabel child, but a GtkScrolledWindow's).
* Force allocation update of expander (to prevent a nasty effect on
expanding more than one time the from/to recpt view. Now the
full expander is sent to the resize and draw queues.
* Added alignment hint for from/to label.
* Set spacing among other headers vbox to 0.
* Set the mail header "reallocate_redraws" to TRUE
* src/modest-msg-view.c:
* Use the new recpt view activate API.
* src/modest-ui-actions.[ch]:
* Added implementation of action "add to contacts". It
gets the primary selection and calls the addressbook
add to contacts implementation.
* Updated API of msg_recpt_view_activated (now handler
gets a string with the activated address).
* src/modest-text-utils.[ch]:
* Added modest_text_utils_address_range_at_position, used
to find addresses in a string (used for automatic selection).
* Added src/modest-address-book.h:
* Interface to addressbook functions. Implementations fall
in specific gnome/maemo modules.
* src/Makefile.am:
* Add modest address book interface.
* src/maemo/modest-main-window-ui.h:
* Added action for adding primary selection to contacts.
* Added src/maemo/modest-address-book.c:
* Implementation for maemo of address book interface.
* Currently it only contains stub implementations, and
a draft implementation of add to contacts method.
* Added src/gnome/modest-address-book.c:
* Implementation for gnome of address book interface.
* Currently it only contains stub implementations.
* src/maemo/Makefile.am
* Added compilation of address book implementation
* src/gnome/Makefile.am
* Added compilation of address book implementation
* src/maemo/ui/modest-msg-view-window-ui.xml:
* Added add to contacts menu option.
* src/maemo/ui/modest-main-window-ui.xml:
* Added add to contacts menu option.
* src/gnome/ui/modest-main-window-ui.xml:
* Added add to contacts menu option.
* configure.ac:
* Added dependency on osso-address-book in MAEMO platform.
pmo-trunk-r886
Dirk-Jan C. Binnema [Mon, 5 Mar 2007 10:56:34 +0000 (10:56 +0000)]
* fix ref leak
pmo-trunk-r885
Dirk-Jan C. Binnema [Mon, 5 Mar 2007 08:29:39 +0000 (08:29 +0000)]
* small note
pmo-trunk-r884
Dirk-Jan C. Binnema [Mon, 5 Mar 2007 08:28:53 +0000 (08:28 +0000)]
* some more work on folder rules; still in progress
pmo-trunk-r883
Dirk-Jan C. Binnema [Mon, 5 Mar 2007 08:27:48 +0000 (08:27 +0000)]
* invent the MODEST_CONF_CONNECT_AT_STARTUP property, and make
it the default.
now, modest will try to make a connection by default when it starts
pmo-trunk-r882
Dirk-Jan C. Binnema [Sun, 4 Mar 2007 19:29:43 +0000 (19:29 +0000)]
* small stuff
pmo-trunk-r881
Dirk-Jan C. Binnema [Sun, 4 Mar 2007 19:27:46 +0000 (19:27 +0000)]
* show toolbar when it's enabled in modest-conf
pmo-trunk-r880
Dirk-Jan C. Binnema [Sun, 4 Mar 2007 19:22:22 +0000 (19:22 +0000)]
* small updates, show toolbar
pmo-trunk-r879
Dirk-Jan C. Binnema [Sun, 4 Mar 2007 18:11:04 +0000 (18:11 +0000)]
* include modest-platform.h, to remove compile warnign
pmo-trunk-r878