Commit Graph

2295 Commits

Author SHA1 Message Date
d9fb300813 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.

Conflicts:

	doc/reference/shell/eshell-sections.txt
2010-04-07 12:25:13 +01:00
13fb16f279 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-04-07 12:13:36 +01:00
84ba2f958f Move "section" documentation out of header files. 2010-04-07 12:13:28 +01:00
b674497bcc 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-04-07 12:13:02 +01:00
a718e57b25 Make EShell and related classes extensible. 2010-04-07 12:12:57 +01:00
b276c75c7c Bug #613352 - Changed time range not propagated to calendar 2010-04-01 16:18:40 +02:00
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
ba8f7c993e Bug 612916 - e_lookup_action() called too early during initialization 2010-03-15 14:39:14 -04:00
edf71e7a15 Fix a couple compiler warnings. 2010-03-15 12:46:32 -04:00
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
c4cde23066 Actually respect the --disable-schemas-install configure option 2010-03-15 14:51:13 +01:00
7472c99b19 Disabling Gnome schemas for windows 2010-03-15 14:41:56 +01:00
81bdbe992b Some more missing relocations fixed 2010-03-15 11:33:18 +01:00
730cf96cd0 Remove some more unnecessary windows workarounds. 2010-03-14 23:13:29 +01:00
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
51cbd483d1 re-enable middle-click to open in new window with new actions 2010-03-13 20:53:17 -05:00
ab6aff8396 document schema to avoid errors 2010-03-13 20:53:17 -05:00
c0f1cd5309 make the 'New' drop-down menu much cleaner for express mode 2010-03-13 20:53:17 -05:00
20168f042f Add a set of actions that open a view in a new window 2010-03-13 20:53:17 -05:00
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
3d95369f38 Hide switcher in express mode. 2010-03-13 20:52:51 -05:00
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
78224aff38 Fix a typo 2010-03-13 20:49:50 -05:00
b5354ee4b8 Libify settings capplet. 2010-03-13 20:49:49 -05:00
304777ae4c Add generic 'express mode' conditionals to the UI XML 2010-03-13 20:49:49 -05:00
2166e7f4c7 Add 'express mode' gconf setting 2010-03-13 20:49:49 -05:00
d1c8dd596c cleanup taskbar activities to remove signals with dangling pointers 2010-03-13 22:08:42 +00:00
c69e242109 More relocation cleanup EVOLUTION_ICONSDIR -> EVOLUTION_ICONDIR 2010-03-11 15:57:20 +01:00
ad14d51202 Relocate on windows paths in this file too 2010-03-10 14:07:56 +01:00
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
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
087a8cbc5a Remove left-over ORBit2 calls on windows 2010-03-05 21:50:42 +01:00
e1f477d50a Accidentally broke string freeze.
Apparently intltool disregards preprocessor directives...
2010-03-03 11:36:28 -05:00
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
bd5612fa7a Bug #610659 - Clear option is disabled after moving to other component 2010-02-24 19:47:43 +01:00
7100d13e3c Bug #594083 - Oversized main window on startup 2010-02-23 16:29:08 +01:00
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
1040078ce6 Update API documentation.
Also, start fixing some Gtk-Doc warnings.  There's a lot.
2010-02-09 18:02:51 -05:00
9cd1f937a2 Bug 609302 - Quick search filters are broken 2010-02-08 12:02:44 -05:00
7f3440fc9e Bug 609304 - Search scope forgotten if search is not performed 2010-02-08 11:22:26 -05:00
5a07799e1f Remember search menu option even when not searching. 2010-02-08 11:22:26 -05:00
393021c19d Add missing linker flags for libeshell. 2010-02-07 15:07:36 -05:00
49ef32b76c Coding style and whitespace cleanup. 2010-02-07 13:26:37 -05:00
31e449ebed Implement account-wide search scope in mail.
Also, let EShellSearchbar handle search state persistence.
2010-02-06 13:46:40 -05:00
9ede7a7fb4 Enforce unique-1.0 >= 1.1.2 build requirement.
Also, add unique-1.0 to GNOME_PLATFORM so it's included in CFLAGS and
LIBADD variables everywhere.
2010-02-03 09:26:31 -05:00
ec73f5522f Coding style and whitespace cleanup. 2010-01-30 18:09:19 -05:00
1359e1e546 Bug 581604 - Permissions on mail/local folders are too open 2010-01-30 01:34:00 +05:30
11ecab76c4 Bug 608340 - Help text missing --debug parameter 2010-01-28 09:52:07 -05:00
8bbc48cd77 Changes in mingw.org last w32api/mingw-rt packages. 2010-01-28 14:42:27 +01:00
e741ec3076 Fix a issue for anjal while saving/restoring search across multiple
folders
2010-01-25 17:01:23 +05:30