Commit Graph

2831 Commits

Author SHA1 Message Date
1d6ecf87aa Fix mismatched quotes. 2010-04-07 12:25:57 +01: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
cc7240b28e Bug #488979 - Disable Edit for card views in contacts 2010-04-01 14:14:56 +02: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
6af1b3178d Clean up GalView and related classes. 2010-03-10 19:19:33 -05:00
56e6bdb414 Bug 612374 - Build failure due to recent GTK+ deprecations 2010-03-10 07:40:21 -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
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
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
a0f7dea42b Bug #610824 - Contacts list view column width doesn't follow header 2010-02-24 16:39:57 +01:00
59a54ea5a0 Coding style and whitespace cleanup. 2010-02-19 12:11:52 -05:00
29a48cb2ce Fix ETable/ETree signal signatures.
To avoid another case like bug #587014, add GSignalAccumulator functions
to all ETable and ETree signals that return a flag to indicate the signal
has been handled.

See commit e9dc381d3a for an example of
the kind of problems not having a GSignalAccumulator can cause.

Signals changed:

  ETree::click
  ETree::right-click
  ETree::white-space-event
  ETable::click
  ETable::key-press
  ETable::right-click
  ETable::start-drag
  ETable::white-space-event
  ETableItem::click
  ETableItem::right-click
  ETableItem::start-drag
  ETableGroup::click
  ETableGroup::key-press
  ETableGroup::right-click
  ETableGroup::start-drag
2010-02-18 11:48:37 -05:00
e9dc381d3a Bug 587014 - Magic space does not work as expected
Neither ETree::key-press nor ETableItem::key-press signal definitions
specify a GSignalAccumulator that terminates the signal emission when
a handler returns TRUE, and Evolution 2.29 connects multiple handlers
to ETree::key-press.

When the space key is pressed, the first handler implements the magic
space bar behavior and returns TRUE, which should terminate signal
emission but doesn't because there's no accumulator function on the
signal.  So the second handler runs and checks for other keys besides
space.  It returns FALSE since it didn't handle the key press.

End result: emission site gets back FALSE (from the second handler) as
the return value, so it thinks the key press was not handled at all and
invokes the fallback handler -- e_selection_model_toggle_single_row() --
which -unselects- the newly selected row, making it appear the next
unread message was never selected.

Several other ETable-related signals that return "handled" flags also
lack GSignalAccumulator functions.  I've made a note to myself to fix
those as well.
2010-02-17 19:45:28 -05: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
62a56d5d8f Bug #593700 - Opens folder on top 2010-02-10 18:27:35 +01: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
65305b7284 Fix include paths for some files to also work when installed
Part of https://bugzilla.gnome.org/show_bug.cgi?id=608175
2010-01-26 16:20:11 -02:00
9acd121a93 Coding style and whitespace cleanups. 2010-01-22 23:04:56 -05:00
41dfcdb070 Bug #606301 - Slow sort by subject 2010-01-20 15:48:31 +01: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
10331b3632 Fix a potential uninitialized return value in e-timezone-dialog.c.
Caught by the Clang Static Analyzer.
2010-01-15 22:02:00 -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
999074a9c6 Remove unused ECell::show_tooltip method. 2010-01-14 11:34:28 -05:00
fc467ec898 Remove dead ETableItem code. 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