Commit Graph

365 Commits

Author SHA1 Message Date
5cc2615a37 Remove some unused gnome-canvas options.
Simplifies the drawing code a bit.

Public API removed:

  GnomeCanvas.center_scroll_region  (is always TRUE)
  GnomeCanvas.pixels_per_unit       (is always 1.0)

  gnome_canvas_set_center_scroll_region()
  gnome_canvas_get_center_scroll_region()
  gnome_canvas_set_pixels_per_unit()
2011-06-29 18:41:19 +02:00
80bc7035be Fudge GtkScrollable for gtk2.
Yes, the GtkScrollable interface is implemented by more than just
GtkLayout, but it turns out GtkLayout is the only thing Evolution
uses the GtkScrollable API for on the gtk3 branch.
2011-06-29 18:41:19 +02:00
c15a75e9ab Bug #371705 - Calendar's day view does not reset its IM context 2011-06-29 18:41:04 +02:00
7e9fc6d2b6 Coding style and whitespace cleanup. 2010-11-09 23:33:23 +01:00
3b3b6cb0ab Add forgotten cairo_destroy() calls 2010-11-09 23:33:21 +01:00
06943232b3 Fix typo in EText.
Fill color properties should be write-only, not read-only.
2010-10-29 13:51:38 -04:00
7d2fc0cf9e e-text: Draw EReflow with cairo 2010-10-29 13:50:04 -04:00
eaf4b5a865 e-text: Fix color handling
- "color" and "color-gdk" properties aren't readable (Their values would
  be wrong if an alpha channel was set).
- Use the rgba color when rendering
- Don't allocate the color in the colormap anymore.
2010-10-29 13:50:04 -04:00
8a0f0cfdc9 e-text: Draw with cairo 2010-10-29 13:50:02 -04:00
d5cf0c298c e-text: Use gdk_pango_layout_get_clip_region() for selection rendering 2010-10-29 13:50:02 -04:00
8811cd67d3 gnome-canvas: Convert canvas item transformation matrix to cairo
Also update the GnomeCanvasItem.update vfunc to take a cairo_matrix_t
and no longer pass the clip_path (what was it used for anyway?).
2010-10-29 13:50:01 -04:00
147cc5979e e-text: Only include libgnomecanvas.h 2010-10-29 13:49:59 -04:00
b3a95d0299 gnome-canvas: Change GnomeCanvasItem->point vfunc
Previously the function returned the distance to the nearest item. Now
it only returns an item that is hit. This slightly changes semantics
(button events are no longer dispatched to the nearest item, but only to
the item actually clicked on), but makes the code way simpler and
actually does what one would expect.
2010-10-29 13:49:59 -04:00
6798b256cd gnome-canvas: Remove close_enough member
It's never set, so just replace it with its default value 0 everywhere.
2010-10-29 13:49:59 -04:00
bfe391f216 e-text: Remove stippling code 2010-10-29 13:49:58 -04:00
df70b76a55 gnome-canvas: Remove aa code
The anti-aliased code was never used, so remove it.
2010-10-29 13:49:57 -04:00
5d812173d0 Drop usage of GtkAnchorType.
gtk+-3.0 removed it for being "unused".
2010-10-26 13:31:26 -04:00
f0714755e2 Memory leaks around g_value_set_string 2010-10-22 15:42:21 +02:00
7a07c80767 Bug #630504 - Precache collate keys before sorting in EReflowModel 2010-10-20 13:34:53 +02:00
1c6f2d154e Bug #631320 - GtkObject is gone in GTK3 2010-10-06 19:26:08 +02:00
9675f18d91 Coding style and whitespace cleanup. 2010-10-03 13:29:20 -04:00
afe6f502c3 Use new GDK keysym names if available.
In GTK+ 2.21.8, the keysym names were renamed from GDK_* to GDK_KEY_*.

I've added backward-compatibility macors to gtk-compat.h, which can be
dumped as soon as we require GTK+ >= 2.22.0.
2010-09-17 18:39:59 -04:00
ebcce86769 Coding style and whitespace cleanups. 2010-09-11 14:14:04 -04:00
101305e1c7 Various memory leaks 2010-09-07 18:39:46 +02:00
eb29179da6 Coding style and whitespace cleanup. 2010-07-11 22:25:06 -04:00
fc3123dc43 Work around sudden disappearance of GdkRegion in GTK+ 2.90.5.
API was deprecated and removed in less than two hours!  Sheesh!
2010-06-29 20:38:29 -04:00
5d0878967e Coding style and whitespace cleanup. 2010-06-20 08:06:19 -04:00
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
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
3f34eeab52 Drop the "2" from libgnomecanvas and libart_lgpl. 2010-06-14 13:18:06 -04:00
e92f18edb6 Add some missing linker flags. 2010-06-14 13:10:13 -04:00
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
06b16e2055 Remove 3 leftover references to non-existing libraries 2010-04-23 13:24:37 +02:00
72797decc1 Giant leap towards GSEAL compliance. 2010-04-08 11:05:26 -04:00
b2e7e4fedd Bug #325121 - Do not translate developer strings in g_param_spec_* 2010-04-01 21:40:19 +02:00
2836a54dd6 Work around recent GTK+ deprecations. 2010-03-05 07:36:23 -05:00
ec73f5522f Coding style and whitespace cleanup. 2010-01-30 18:09:19 -05:00
cae22334fa Remove dead assignments found by clang. 2010-01-15 21:50:05 -05:00
95072d1bc3 Remove unused tooltip support from ECanvas/ETable/EText. 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
f62728b55e Bug 596848 - Use per-target CPPFLAGS in automake files 2009-09-30 23:37:50 -04:00
591bcbeb91 Remove a bunch of unused functions. 2009-09-15 05:26:52 -05:00
fa360fde28 More whitespace cleanup. 2009-07-18 14:07:42 -04:00
374bd42f69 Fix excessive whitespace. 2009-07-14 11:26:22 -04:00
1351c8e4fb Merge branch 'master' into kill-bonobo 2009-07-01 10:47:10 -04:00
bfc5ba2511 Fix "make distcheck" errors and other build cleanups. 2009-06-30 18:34:08 -04:00
42e75c9162 Use AM_CPPFLAGS instead of INCLUDE in all Makefile.am. 2009-06-30 17:20:23 -04:00
f0d3f3afdf Radically reorganize source code.
- Collect all shell modules into a new top-level 'modules' directory:

      $(top_srcdir)/modules/addressbook
      $(top_srcdir)/modules/calendar
      $(top_srcdir)/modules/mail

  Nothing is allowed to link to these, not plugins nor other modules.

  THIS SOLVES BUG #571275 AND OPENS THE DOOR TO PORTING TO MAC OS X.

- Mimic the libevolution-mail-shared library from master (except drop
  the "shared" suffix) and have libevolution-mail-importers and all
  mail-related plugins link to it.

- Discard the a11y subdirectories and have the files live alongside
  their counterpart widgets.
2009-06-24 18:29:22 -04:00
c0d998229d Stop abusing forward declarations. 2009-06-18 16:01:29 -04:00