Commit Graph

1241 Commits

Author SHA1 Message Date
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
3dfd9aa7c4 [win32] Be consistent in disabling the lockdown options. 2010-04-07 23:49:18 +02:00
8f42c1dd8f Minor EMailReader cleanup.
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().
2010-04-07 12:23:31 +01:00
fe177f5a12 Add an extension to configure EWebView.
Make EWebView extensible and register an extension to automatically
bind every EWebView instance to the appropriate EShellSettings.

Conflicts:

	widgets/misc/e-web-view.c
2010-04-07 12:14:43 +01:00
260032a9ff Add extensions to configure calender widgets.
Make ECalendarItem, ECalendarView, ECalModel, EDateEdit, EMeetingStore,
and EMeetingTimeSelector extensible and register extensions to
automatically bind every instance to the appropriate EShellSettings.

Conflicts:

	calendar/gui/gnome-cal.c
	modules/calendar/e-cal-shell-content.c
2010-04-07 12:12:47 +01:00
43d1413338 Bug 614049 - Attachment bar causes drawing issues in RTL locales 2010-03-29 14:09:16 -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
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
a674eab94d Update win32 directory relocation and some consistency cleanup 2010-03-10 12:18:12 +01:00
559ad10061 ECalendar header cleanup. 2010-03-09 15:44:44 -05:00
855ba06dc0 Remove a long lived win32 hack
It seems that the dummy libraries are not needed anymore on windows
nowadays.
2010-03-05 21:50:41 +01:00
2836a54dd6 Work around recent GTK+ deprecations. 2010-03-05 07:36:23 -05:00
90bc495b61 Fix a misspelled icon name. 2010-03-03 18:11:21 -05:00
0a9b740c1b Filtering out g_chmod on windows because it makes no sense there 2010-03-02 17:40:04 +01:00
8b407ec081 Revert "Bug 587014 - Magic space does not work as expected"
This reverts commit 2ee273db7c.

That commit caused the side-effect reported in bug #610251.
2010-02-17 17:08:54 -05:00
df8b6db32e Forgot to disconnect a signal handler in EAttachmentButton.
The "deactivate" handler for EAttachmentButton's popup menu was never
disconnected, and I suspect it may be getting invoked after the button
has been finalized.
2010-02-17 13:11:37 -05:00
eff516f779 Bug 609042 - Convert quoted-printing to UTF-8 when copying to clipboard 2010-02-16 14:00:54 -05:00
53cdaa7e15 Fix command-line import crasher.
GtkAssistant's initial reference is floating, so if command-line import
fails to find a suitable importer, sink the reference before finalizing
the GtkAssistant.
2010-02-12 07:44:51 -05:00
67ce5f3b14 Add DnD support to e-selection.c.
Avoid listing calendar and directory targets explicitly, so that
e-selection.c contains the one and only master list.  Still need
to figure out how to centralize "text/x-source-vcard".
2010-02-08 18:57:24 -05:00
49ef32b76c Coding style and whitespace cleanup. 2010-02-07 13:26:37 -05:00
2ef43b4cf4 Fix a compiler warning. 2010-02-06 21:18:00 -05:00
0cc56c014f Bug 602416 - Changing shell views emits many runtime warnings 2010-02-06 20:48:27 -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
ec73f5522f Coding style and whitespace cleanup. 2010-01-30 18:09:19 -05:00
27988a2b71 Don't show total attachment size if it's zero. 2010-01-28 12:38:08 -05:00
e8c67c85c9 Revise some comments in e-attachment.c. 2010-01-28 11:33:42 -05:00
bbe38b0f7a Add focus tracking to EMailBrowser. 2010-01-19 18:14:48 -05:00
f6d07f6cc6 Bug 607234 - Open received attachments as read-only 2010-01-18 13:52:31 -05:00
39ee1b7890 Give all preview panes a search bar.
Use Shift+Ctrl+F as the accelerator for consistency with the mailer.
2010-01-17 23:54:06 -05:00
3e7c7808cc Improve clipboard behavior.
Add "copy-target-list" and "paste-target-list" to the ESelectable
interface.  These are underutilized for the moment, but will eventually
be used to help integrate drag-and-drop support into ESelectable.

Add cut and paste support to EWebView, along with a new "editable"
property and new clipboard signals "copy-clipboard", "cut-clipboard" and
"paste-clipboard".

In EFocusTracker, listen for "owner-changed" signals from the default
clipboard as another trigger to update actions, particularly the Paste
action.  (Unfortunately this doesn't work for EWebView since GtkHtml
implements its own clipboard.)

In EMsgComposer, convert GtkhtmlEditor's clipboard methods to empty
stubs, since EFocusTracker will now trigger EWebView's clipboard
actions.  Also, intercept EWebView::paste-clipboard signals and improve
the interaction between the HTML editor and the attachment bar based on
use cases in bug #603715.
2010-01-17 12:11:08 -05:00
cae22334fa Remove dead assignments found by clang. 2010-01-15 21:50:05 -05:00
d37784ed3d Fixes #606937 - void function should not have a return value. 2010-01-15 11:26:53 +08:00
95072d1bc3 Remove unused tooltip support from ECanvas/ETable/EText. 2010-01-14 11:34:28 -05:00
82b5b24abc Remove unused ECanvas functions. 2010-01-14 11:34:28 -05:00
a6d296b998 Baby steps toward GSEAL compliance. 2010-01-13 14:17:42 -05:00
79741ccd3f Bug 606250 - Remove usage of deprecated GTK+ symbols
Several GtkWidget macros were recently deprecated.
2010-01-07 14:45:43 -05:00
5c80f1534b Coding style and whitespace cleanup. 2010-01-04 20:22:21 -05:00
69945127d8 Kill widgets/misc/e-colors.[ch]. 2010-01-04 20:22:21 -05:00
1501b8588c Kill e_popup_menu().
The function is trivial and was only used from ETableHeaderItem.
This also eliminates widgets/misc/e-gui-utils.[ch].
2010-01-04 20:22:21 -05:00
e969826cd3 Kill redundant RGB/HSV color conversion utilities.
Use gtk_rgb_to_hsv() instead of e_rgb_to_hsv().
Use gtk_hsv_to_rgb() instead of e_hsv_to_rgb().
2010-01-04 20:22:20 -05:00
e77ee5d5d3 Coding style and whitespace cleanup. 2010-01-03 12:15:01 -06:00
6a72dacb7d Bug 361145 - Evolution hangs when formatting message - fixes part of it. 2009-12-28 18:44:09 +05:30
59bd81691d Compiler and linker flag cleanups. 2009-12-27 14:32:39 -05:00
bd31f49bac Coding style and whitespace cleanup. 2009-12-26 00:26:18 -05:00
abc0e4c694 Introduce ESelectable and EFocusTracker.
EFocusTracker tracks the input focus within a window and helps keep
the sensitivity of "selectable" actions in the main menu up-to-date.
Selectable actions include Cut, Copy, Paste, Select All and Delete.

EFocusTracker has built-in support for widgets that implement the
GtkEditable interface such as GtkEntry and GtkTextView.  It also
supports custom widgets that implement the ESelectable interface,
which is a subset of GtkEditable and can apply to anything that
displays selectable content (esp. tree views and ETables).

This commit integrates EFocusTracker with EShellWindow, CompEditor,
EMsgComposer, and ESignatureManager.

It also bumps the GtkHTML requirement to 2.29.5 to utilize the new
GtkhtmlEditor:html constructor property.
2009-12-25 15:42:17 -05:00
3f36489c67 Bug #329693 - Add contexts to translated "None" words 2009-12-23 17:11:59 +01:00
455353a19d Bug #605192 - New memo window has start date as None 2009-12-22 20:32:28 +01:00
90ee277703 Bug #593896 - Menu > Search > Find now is always enabled (again) 2009-12-21 12:35:03 +01:00
f989e5d970 Bug 596947 - Calendar view forgets memo pane height 2009-12-19 23:54:54 -05:00
65931feb2a Bug #591938 - Update translator's comments 2009-12-09 18:55:15 +01:00