Commit Graph

2302 Commits

Author SHA1 Message Date
Milan Crha 5eace9f71a Workaround broken build due to direct X function calls 2010-04-01 21:42:32 +02:00
Milan Crha b2e7e4fedd Bug #325121 - Do not translate developer strings in g_param_spec_* 2010-04-01 21:40:19 +02:00
Michael Meeks 2e1a8c3899 Add meego detection logic, it needs to be used (next pass) to
configure the shell, to name widgets differently, and re-order
some menu/toolbar bits.
2010-04-01 17:30:24 +01:00
Milan Crha 04bac0cf69 Bug #613352 - Changed time range not propagated to calendar 2010-04-01 16:16:25 +02:00
Michael Meeks 5d9609032b Disable the status bar for all but the mail view.
Not implemented prettily, but cf. mail_shell_backend_window_created_cb
getting invoked even for addressbok windows ...
2010-03-31 15:14:24 +01:00
Matthew Barnes a215775e89 Fix a compiler warning in main.c. 2010-03-29 19:12:55 -04:00
Matthew Barnes 797acc2445 Drop support for migrating from Evolution < 2.0.
There's too much ancient, crufty code there that we can't realistically
support anymore.  A workaround for those poor users still on 1.x is to
upgrade to some 2.x release first, then upgrade again to 3.x.  An error
dialog explaining this will be shown at startup.
2010-03-29 19:04:00 -04:00
Matthew Barnes f7547cc6ac Simplify the search UI for express mode.
For express mode:

- Move the search bar up to the toolbar.

- Hide the "filter" combo box and lock down the first item.

- Hide the "scope" combo box and lock down the first item.
  (This is the combo box with "Current Folder" only in the mailer.)

- EShellView owns the search bar widget now instead of EShellContent.

- Insert several nasty hacks that will likely come back to bite me.
2010-03-26 20:29:30 -04:00
Matthew Barnes 906f93a130 Demonstrate extending the EExtension API.
Introduce e_extensible_list_extensions(), which provides extensible
objects access to their own extensions, or a subset of them.

Convert EShellBackend to an abstract EExtension subtype.  EShell will
load its extensions with e_extensible_load_extensions(), and then obtain
a list of EShellBackend extensions as follows:

    shell_backends = e_extensible_list_extensions (
            E_EXTENSIBLE (shell), E_TYPE_SHELL_BACKEND);

Because EShellBackend is abstract, its GType is skipped while traversing
the GType hierarchy to find EShell extensions.
2010-03-21 23:30:44 -04:00
Matthew Barnes f9dd2dd10b Move "section" documentation out of header files. 2010-03-21 17:24:42 -04:00
Fridrich Strba 11cd3fda1a [win32] Be consistent in disabling the lockdown options. 2010-03-21 00:13:49 +01:00
Matthew Barnes 6c569e64af Convert NetworkManager integration to an EShell extension.
This demonstrates how to extend EShell without having to modify and
recompile e-shell.c.  If NetworkManager integration is enabled, the
extension is loaded automatically when the EShell is created.

The same pattern can be applied to integrate other network monitoring
software like ConnMan or Microsoft's Wireless Zero Configuration.
2010-03-20 11:49:46 -04:00
Matthew Barnes 185b7b2a0b Make EShell and related classes extensible. 2010-03-20 11:49:46 -04:00
Michael Meeks ea92ec7bef Don't use the previous stored default shell type in express mode.
This avoids closing the mail, then addressbook, and getting only an
addressbook when re-run (with no switchers in express mode).
2010-03-16 20:37:56 +00:00
Matthew Barnes ba8f7c993e Bug 612916 - e_lookup_action() called too early during initialization 2010-03-15 14:39:14 -04:00
Matthew Barnes edf71e7a15 Fix a couple compiler warnings. 2010-03-15 12:46:32 -04:00
Matthew Barnes 04305b8fa3 Revert some bad assumptions I made in EPluginUI.
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.
2010-03-15 12:14:36 -04:00
Fridrich Strba c4cde23066 Actually respect the --disable-schemas-install configure option 2010-03-15 14:51:13 +01:00
Fridrich Strba 7472c99b19 Disabling Gnome schemas for windows 2010-03-15 14:41:56 +01:00
Fridrich Strba 81bdbe992b Some more missing relocations fixed 2010-03-15 11:33:18 +01:00
Fridrich Strba 730cf96cd0 Remove some more unnecessary windows workarounds. 2010-03-14 23:13:29 +01:00
Matthew Barnes d7494c8f16 Shell and UI manager cleanups.
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.)
2010-03-13 20:53:17 -05:00
Michael Meeks 51cbd483d1 re-enable middle-click to open in new window with new actions 2010-03-13 20:53:17 -05:00
Michael Meeks ab6aff8396 document schema to avoid errors 2010-03-13 20:53:17 -05:00
Michael Meeks c0f1cd5309 make the 'New' drop-down menu much cleaner for express mode 2010-03-13 20:53:17 -05:00
Michael Meeks 20168f042f Add a set of actions that open a view in a new window 2010-03-13 20:53:17 -05:00
Michael Meeks 19eea41c74 clean up the 'express' mode hooks for UI Managers and start to
extend them to plugins - use a simple one-off boolean on the UI Manager
instead of exhaustively trying to propagate this information everywhere.
2010-03-13 20:53:16 -05:00
Srinivasa Ragavan 3d95369f38 Hide switcher in express mode. 2010-03-13 20:52:51 -05:00
Michael Meeks d9be66b527 Removed obsolete method signatures in em-account-editor.h
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.
2010-03-13 20:52:51 -05:00
Srinivasa Ragavan 78224aff38 Fix a typo 2010-03-13 20:49:50 -05:00
Srinivasa Ragavan b5354ee4b8 Libify settings capplet. 2010-03-13 20:49:49 -05:00
Michael Meeks 304777ae4c Add generic 'express mode' conditionals to the UI XML 2010-03-13 20:49:49 -05:00
Michael Meeks 2166e7f4c7 Add 'express mode' gconf setting 2010-03-13 20:49:49 -05:00
Michael Meeks d1c8dd596c cleanup taskbar activities to remove signals with dangling pointers 2010-03-13 22:08:42 +00:00
Fridrich Strba c69e242109 More relocation cleanup EVOLUTION_ICONSDIR -> EVOLUTION_ICONDIR 2010-03-11 15:57:20 +01:00
Fridrich Strba ad14d51202 Relocate on windows paths in this file too 2010-03-10 14:07:56 +01:00
Matthew Barnes 89d666e543 Bug 610023 - Does not restore "Current View" on startup
Adds a GalViewInstance::loaded signal so EShellView gets notified when
the initial view is loaded.
2010-03-09 15:07:28 -05:00
Matthew Barnes f7e0850ff2 Remove some unnecessary terminal messages.
Don't need to see status messages on the terminal when going online,
offline or quitting.
2010-03-09 13:35:22 -05:00
Fridrich Strba 087a8cbc5a Remove left-over ORBit2 calls on windows 2010-03-05 21:50:42 +01:00
Matthew Barnes e1f477d50a Accidentally broke string freeze.
Apparently intltool disregards preprocessor directives...
2010-03-03 11:36:28 -05:00
Matthew Barnes 2026a45165 Save state key file asynchronously.
Avoids blocking the UI in case the save triggers an fsync() which, on
ext3, synchronizes the entire filesystem.  The logic is a bit tricky
because we want to limit the frequency of saves and only run one save
operation at a time, but we also want to do an immediate last-ditch
save before finalizing the shell view.
2010-03-03 11:13:37 -05:00
Milan Crha bd5612fa7a Bug #610659 - Clear option is disabled after moving to other component 2010-02-24 19:47:43 +01:00
Milan Crha 7100d13e3c Bug #594083 - Oversized main window on startup 2010-02-23 16:29:08 +01:00
Matthew Barnes d73a224db5 Use "mail" as the fallback shell view when starting up.
This kind of violates the shell window being unaware of specific shell
views, but we need a sane fallback so users don't get an empty window.
2010-02-16 13:29:46 -05:00
Matthew Barnes 1040078ce6 Update API documentation.
Also, start fixing some Gtk-Doc warnings.  There's a lot.
2010-02-09 18:02:51 -05:00
Matthew Barnes 9cd1f937a2 Bug 609302 - Quick search filters are broken 2010-02-08 12:02:44 -05:00
Matthew Barnes 7f3440fc9e Bug 609304 - Search scope forgotten if search is not performed 2010-02-08 11:22:26 -05:00
Matthew Barnes 5a07799e1f Remember search menu option even when not searching. 2010-02-08 11:22:26 -05:00
Matthew Barnes 393021c19d Add missing linker flags for libeshell. 2010-02-07 15:07:36 -05:00
Matthew Barnes 49ef32b76c Coding style and whitespace cleanup. 2010-02-07 13:26:37 -05:00