Commit Graph

2318 Commits

Author SHA1 Message Date
2d68130cad don't bridge to the active-view gconf setting 2010-04-27 17:47:57 +01:00
0b07840e26 Don't use gconf to store the names of widgets to hide
That was just for development.  Now we hardcode the lists of widgets.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-04-26 18:13:24 -05:00
b54c869e2f get window sizing logic right (again) 2010-04-23 16:45:59 +01:00
a650f15f00 Store the initial view request and use that to decide whether to show
startup wizard or not. Show only for mail and not calendar.
2010-04-22 17:27:20 +05:30
a84b1a3251 Merge commit 'origin/gnome-2-30' into express2 2010-04-21 17:06:38 +01:00
74c9169a07 Give the windows version of evolution-alarm-notify a nice win32 icon 2010-04-20 15:27:24 +02:00
5825fb4eb1 revert snafu to full-screening ... 2010-04-19 10:06:59 +01:00
81e6232269 Re-work the over-complicated event editor as a tabbed notebook.
Thanks to Sashwaat.
2010-04-19 09:57:48 +01:00
5fca5b574e Adapt the event editor for MeeGo / small-screen.
Bin the menu bar, disable the print icon, add a close button at top right.
2010-04-15 13:32:34 +01:00
9b90e087b0 add a close-window action that doesn't become insensitive on the last window.
Use this in meego / full-screen mode
2010-04-14 20:56:30 +01:00
46cf8be3f3 add stock close button 2010-04-14 20:14:40 +01:00
41a762eee8 add EVO_MEEGO debugging env var:
export EVO_MEEGO="session-type=small-screen" for the most fun.
2010-04-14 20:13:19 +01:00
ef31f5027f Bug #608203 - Left pane of mailer window is really narrow at startup 2010-04-14 12:40:59 +02:00
2593383aec Detect MeeGo, and propagate settings variously.
Adapt widget naming on MeeGo for theming etc.
2010-04-12 14:50:44 +01:00
b360395495 Merge branch 'express2' into express2-reduced-preferences 2010-04-09 15:09:46 -05:00
a16f08974d Merge gnome-2-30 into express2 to get bugfixes
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.
2010-04-09 12:21:32 -05:00
fe8eabe6d7 Utility function to hide widgets when in Express mode
Express mode requires a reduced preferences dialog.  Many options in the
current preferences dialog are pure, unadulterated crack.  So we need
an easy way to hide them, to simplify the dialog and reduce its size.

Here we add a function that takes a GConf key, reads a list of strings
from that key, and hides the widgets whose names are those strings.
This gives us an easy way to experiment with what widgets should
be hidden in the preferences dialog, without needing to recompile
all the time.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-04-08 17:48:08 -05:00
3dfd9aa7c4 [win32] Be consistent in disabling the lockdown options. 2010-04-07 23:49:18 +02:00
cd7fadfcdb 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 13:09:42 -04:00
5c43eaf3dd Make EShell extensible. 2010-04-07 13:03:53 -04:00
5b39734825 hook X symbols out manually to make it build nicely on Fedora. 2010-04-07 17:43:10 +01:00
3a486e39e8 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-07 12:29:15 +01:00
812724b034 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-04-07 12:26:52 +01:00
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