Note that express2 got some documentation for EExtensible and friends,
and that documentation is not in gnome-2-30 yet. We need to cherry-pick
those commits into gnome-2-30 and elsewhere.
These get read when creating the preferences widgets, and the
widgets whose names are mentioned in the GConf values will
get hidden when in Express mode.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Composer and signature editor always default to HTML in Express mode.
Hide the corresponding composer preference. This will not affect the
user preference in normal mode.
Add a load_string() method to EWebView. Have EMailDisplay override
load_string() and check that the formatter is not busy before loading
the string. Have EMailReader call e_web_view_load_string() directly
on the EMailDisplay instance, and eliminate update_webview_content().
Make EWebView extensible and register an extension to automatically
bind every EWebView instance to the appropriate EShellSettings.
Conflicts:
widgets/misc/e-web-view.c
This is part of bug #257641, to not hide junk emails in folders
where their store doesn't support vJunk folder. In that case
the junk mail should be either placed in a real junk folder or
not having the flag set. But because there can be mails with
the junk flag set, and they would be otherwise hidden for a user,
then this allows to show them.
Bundle needed stock icons recently dropped from gnome-icon-theme.
Need to reevaluate which icons we really need and drop the rest.
Many are not Tango-compliant and look dated and out of place.
The following icon names are bundled:
stock_alarm
stock_bell
stock_check-filled
stock_contact-list
stock_insert-note
stock_mail-filters-apply
stock_mail-flag-for-followup
stock_mail-flag-for-followup-done
stock_mail-open-multiple
stock_mail-unread-multiple
stock_new-meeting
stock_score-high
stock_score-higher
stock_score-highest
stock_score-low
stock_score-lower
stock_score-lowest
stock_score-normal
stock_shared-by-me
stock_shared-to-me
stock_show-all
stock_signature
stock_signature-bad
stock_signature-ok
stock_task
stock_task-assigned
stock_task-assigned-to
stock_task-recurring
stock_timezone
stock_todo
stock_video-conferencing
stock_view-details
We can't require the use of EUIManager everywhere because we don't
control all the UI manager instances -- the most compelling example
being the composer, whose UI manager comes from GtkhtmlEditor.
Instead, EPluginUI will check the instance type and pick an appropriate
"load_from_string" function.
Add G_GNUC_NULL_TERMINATED to EAlert functions with variable-length
parameter lists and drop the unnecessary "arg0" parameter so the
function attribute works correctly.
Replace the EVO_EXPRESS environment variable with an --express command
line option. (Note, this adds a new translatable string for --help.)
Add an EUIManager class with an "express-mode" property and custom load
functions that use our new "express" preprocessor. This replaces the UI
manager functions in e-utils.c.
(Also going to see if I can get GTK+ to add an "add_ui_from_string"
method to GtkUIManagerClass that we can override. Then we could just
call gtk_ui_manager_add_ui_from_string() and the preprocessor would
automatically do its thing and chain up.)
Add an "express-mode" read-only GObject property to EShell.
Add e_shell_configure_ui_manager() to e-shell-utils.c. For now this
just creates a one-way property binding:
EShell:express-mode -> EUIManager:express-mode
Call this immediately after e_ui_manager_new(). (EUIManager can't do
this itself because it lives too low in the dependency hierarchy and
doesn't know about EShell.)
Added em_account_editor_get_widget, and cleaned up the widget listing.
Cleaned the startup wizard code to find it's label by name
Added disabling of power-user 'indentity' frame in the first page express capplet.
Add a private struct to the EMailReader interface so it's easier to
track state data like timeout or operation IDs, flags, etc.
This is similar to private sections of a class instance, except the
struct is created on-demand and stored as an opaque, named pointer on
the GObject with a "destroy" callback that runs during finalization.
All this is hidden behind a simple E_MAIL_READER_GET_PRIVATE macro.