Commit Graph

1327 Commits

Author SHA1 Message Date
Matthew Barnes ebcce86769 Coding style and whitespace cleanups. 2010-09-11 14:14:04 -04:00
Matthew Barnes bc9ece413f Re-work my GtkDialog:has-separator workaround.
If we're using GTK+ 2.21.8 (where gtk_dialog_set_has_separator() is
deprecated but the property is still present and defaults to TRUE), we
still need to set the property to FALSE.  So instead use g_object_set()
up through GTK+ 2.90.6, after which the property itself is gone.
2010-09-11 09:03:45 -04:00
Matthew Barnes a6e137295f Work around deprecation of gtk_dialog_set_has_separator()
Unfortunately the default value for this property is TRUE (bzzt, WRONG!)
so we can't just remove the function outright until we require GTK+ 2.22.
It was deprecated in GTK+ 2.21.8.
2010-09-11 00:30:54 -04:00
Milan Crha 101305e1c7 Various memory leaks 2010-09-07 18:39:46 +02:00
Matthew Barnes 72766a6e2d Bug 628483 - signature_combo_box_refresh_cb memory leak 2010-09-01 07:12:35 -04:00
Matthew Barnes 4c05b9e925 Coding style and whitespace cleanup. 2010-08-29 11:22:28 -04:00
Matthew Barnes ff2c9f8499 Bug 628154 - Ignore paths in MIME part filenames 2010-08-27 18:12:45 -04:00
Matthew Barnes 125a0dac96 Forgot a line.
This goes with the previous commit.
2010-08-26 20:06:48 -04:00
Matthew Barnes 8223eaf570 Convert EAttachmentHandler to an EExtension.
EAttachmentHandler predates EExtension, so this is really just a code
cleanup to use the extension framework.  But this also demonstrates that
extensions can target interfaces as well as instantiable types, since
EAttachmentView is an interface.

What's also nice is EAttachmentView no longer has to directly interact
with attachment handlers.  Instead of EAttachmentView having to query
each attachment handler for drag-and-drop info, each handler now pushes
its own drag-and-drop info to its EAttachmentView during initialization.
2010-08-26 19:32:36 -04:00
Matthew Barnes ecf3434da0 GObject boilerplate cleanup.
Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over
manual GType registration.

This is just a start... lots more to do.
2010-08-24 14:37:02 -04:00
Matthew Barnes b91e79ec73 ESelectionModel cleanups. 2010-08-15 22:37:06 -04:00
Matthew Barnes 4e9050bc1e Whitespace and coding style cleanup. 2010-08-13 21:32:32 -04:00
Matthew Barnes 4032075425 Bug 624913 - Disallow drag-and-drop within the same attachment bar
Adds a boolean "dragging" property to the EAttachmentView interface,
which becomes TRUE when the user start a drag from the attachment view.
e_attachment_view_drag_motion() and e_attachment_view_drag_drop() both
return FALSE when this property is set.

Also, do not register the entire EMsgComposer window as a drag
destination.  Just intercept drag signals from the GtkHTML widget.

Requires gtkhtml commit 344eb5e to fully work correctly.
2010-08-13 08:09:37 -04:00
Matthew Barnes 6caf022926 ECanvas cleanups. 2010-08-12 15:41:02 -04:00
Michael Meeks 9c07255990 remove select-on-focus hack, and replace with new skip-a-parent
chaining hack; sub-set this only for when we have a hint visible
ie. fix alt-c + type-new-search
2010-08-11 15:10:01 +01:00
Matthew Barnes f1c03de09d Bug 271691 - Add a way to view all attachments inline 2010-08-10 18:53:31 -04:00
Matthew Barnes 84abe8bbf3 EAttachmentView cleanups. 2010-08-10 18:53:31 -04:00
Michael Meeks 18813ccd8f Defer the load / creation of configuration UI with changes to
e_preferences_window to take factory callbacks and store a reference
to the shell. - This makes start-up substantially faster, particularly
on Atom (eg.).

Remove a number of idle handlers used to create these UIs in the
first instance, cleaning the code.
2010-08-10 21:17:40 +01:00
Rob Bradford b6b72b0c4a addressbook/gui, plugins/groupwise, widgets/misc: Update to new icon theme
Since gnome-icon-theme 2.30.x the icon name for the default avatar has changed
from stock_person to avatar-default

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=616822
2010-08-02 10:58:43 +01:00
Matthew Barnes 8dcdc60ccc Make EImportAssistant extensible. 2010-07-30 12:10:01 -04:00
Matthew Barnes 9085a5a18c Remove unused 'preview' argument from e_import_assistant_new_simple().
We preview imported files by other means now.
2010-07-30 10:58:26 -04:00
Kjartan Maraas 13cf1d104b Bug 624534 - Adapt to GTK+ GtkNotebookPage changes 2010-07-25 21:49:18 -04:00
Matthew Barnes 665c4b22ad Disable my evil GtkExpander hack in EAttachmentPaned.
The new height-for-width logic in GTK3 doesn't like my trick to center a
GtkExpander's label widget, so I have to disable it entirely for GTK3 or
else Evolution crashes when opening a composer window.

Bug #614049 has a GtkExpander patch that would let me do it properly.
2010-07-17 06:26:58 -04:00
Matthew Barnes eb29179da6 Coding style and whitespace cleanup. 2010-07-11 22:25:06 -04:00
Matthew Barnes b3cdd1cc30 Bug 624022 - "stock_mail-import" no longer exists in gnome-icon-theme 2010-07-10 08:00:32 -04:00
Matthew Barnes 137b0743dd Migrate from CamelException to GError. 2010-07-08 14:37:52 -04:00
Matthew Barnes 54f6924c84 EHintedEntry: Don't select hints on grab_focus(). 2010-06-24 20:42:09 -04:00
Milan Crha 179db75ce0 Bug #620815 - Memory leaks with Evolution 2010-06-24 20:43:16 +02:00
Matthew Barnes 9d538474a8 Bug 622633 - Can't launch Evolution from clock applet 2010-06-24 13:19:14 -04:00
Milan Crha b62f965b04 Bug #621903 - Crash on HTML message print preview 2010-06-24 17:57:48 +02:00
Matthew Barnes ef9b23ef99 Bug 604262 - "Copy Email Address" should also copy to primary clipboard 2010-06-24 08:44:00 -04:00
Matthew Barnes f1bad7677a Bug 622559 - Changing search option should focus search entry 2010-06-24 08:17:13 -04:00
Matthew Barnes df33c633ee Use an appropriate icon when dragging attachments. 2010-06-22 14:29:28 -04:00
Matthew Barnes 402166be54 Composer: Only hide single From account in express mode.
At least until we have another way to insert signatures.

Obvious solution: Insert -> Signature -> (list of your signatures)
2010-06-20 17:34:27 -04:00
Matthew Barnes c2c89fcb8c Fix all remaining GTK3 issues.
Work around the issue of GnomeCanvasItem amending its own flags to
GtkObject::flags (which is sealed) by giving it its own flags field.
This breaks libgnomecanvas ABI and API, but I see no other way.

This commit didn't work the first time because gnome-pilot libraries
were still pulling in the system-wide libgnomecanvas, and that was
interfereing with our bundled version which has a different ABI.
But gnome-pilot integration was dropped in the previous commit, so
everything is now using the bundled libgnomecanvas.
2010-06-15 14:46:02 -04:00
Matthew Barnes 333897772f Remove gnome-pilot integration.
It just doesn't belong in Evolution anymore.  We don't support syncing
with more modern devices -- see Conduits or SyncEvolution for that -- so
it does not make sense for older model Palm Pilot PDAs to be the lone
exception.

I have repackaged the Evolution-Data-Server conduit modules to be
provided by gnome-pilot itself in bug #619315.  This should provide
eqivalent Palm Pilot syncing functionality; it's just being moved to
gnome-pilot.

This completely severs our dependency on deprecated GNOME 2.x libraries
which were still being dragged in by way of gnome-pilot dependencies.
It was also interfereing with our bundling of libgnomecanvas.
2010-06-15 14:45:55 -04:00
Matthew Barnes a55021bcef Revert "Fix all remaining GTK3 issues."
This reverts commit fd8b55edaa.

Something in this commit seriously hosed ETable, making Evolution pretty
much unusable.  Reverting this until I can track down the problem.
2010-06-14 21:38:53 -04:00
Matthew Barnes 3f34eeab52 Drop the "2" from libgnomecanvas and libart_lgpl. 2010-06-14 13:18:06 -04:00
Matthew Barnes e92f18edb6 Add some missing linker flags. 2010-06-14 13:10:13 -04:00
Matthew Barnes fd8b55edaa Fix all remaining GTK3 issues.
Work around the issue of GnomeCanvasItem amending its own flags to
GtkObject::flags (which is sealed) by giving it its own flags field.
This breaks libgnomecanvas ABI and API, but I see no other way.
2010-06-14 12:55:49 -04:00
Matthew Barnes e6972011f0 Embed libart_lgpl and libgnomecanvas.
Both of these modules are deprecated and going away in GNOME 3 but we
still rely heavily on them for GnomeCalendar and ETable.  So, welcome
to the island of unwanted libraries...
2010-06-13 21:31:58 -04:00
Matthew Barnes ffc019e36f Coding style and whitespace cleanups. 2010-06-06 20:09:08 -04:00
Matthew Barnes 970662db34 More GTK3 preparation.
This uses the new gtk_assistant_commit() I had added to GTK+ for our
EImportAssistant progress page.
2010-06-04 08:34:15 -04:00
Matthew Barnes cf5d6aeca5 Bug 619781 - Some preference sections don't show the right preferences 2010-05-27 12:43:10 -04:00
Matthew Barnes 0b1cd2dd5b Coding style and whitespace cleanup. 2010-05-26 17:19:41 -04:00
Matthew Barnes 1097c5c115 Some post-merge cleanup. 2010-05-26 14:43:37 -04:00
Matthew Barnes c9ec8c3f4d Merge branch 'express2' 2010-05-26 13:09:33 -04:00
Matthew Barnes 9653887891 Coding style and whitespace cleanup. 2010-05-25 10:15:32 -04:00
Matthew Barnes 3e1b34841d Fix compiler warnings. 2010-05-25 09:54:55 -04:00
Matthew Barnes f49077cfb5 Merge branch 'gnome-2-30' into express2 2010-05-25 09:14:51 -04:00