dfc4205ce5
libetable cleanups.
2011-06-29 18:41:19 +02:00
855ac52765
Merge miscellaneous changes from gtk3 branch.
...
Mostly coding style and whitespace changes, to reduce diff noise.
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
2485ba3936
Fudge gtk_widget_get_preferred_size() for gtk2.
...
Easy enough to fake gtk_widget_get_preferred_size() in gtk2 using
gtk_widget_size_request(). Reduces diff noise with gtk3 branch.
2011-06-29 18:41:19 +02:00
70bbf2c088
ETree: Fix runtime warnings with GTK3.
...
ETable has a "vertical-spacing" style property, ETree does not.
ECellText expects it to be in both.
2011-06-29 18:41:16 +02:00
c3d6ab4b55
Minor compiler warnings fix
2011-06-29 18:41:13 +02:00
e0cbce9595
Reset IM context when entering ECellText editing
2011-06-29 18:41:04 +02:00
9e833a704c
Bug #633774 - Headers are gone in grouped view
2010-11-16 10:43:16 +01:00
889e52cb9d
Drop accessibility support for ECellText.
...
The accessibility code for ECellText is unmaintained and crashes
constantly. I'm evicting it from our code base until someone takes
ownership of the libgal accessibility support and deals with it.
2010-11-16 10:43:16 +01:00
7439ad9ca1
Fix distcheck errors.
2010-11-09 23:33:23 +01:00
7e9fc6d2b6
Coding style and whitespace cleanup.
2010-11-09 23:33:23 +01:00
033bed834e
Bug #632768 - Message list not realized when opening new folder
2010-11-09 23:33:21 +01:00
3b3b6cb0ab
Add forgotten cairo_destroy() calls
2010-11-09 23:33:21 +01:00
75f1dc888e
Fix cursor drawing in ECellText.
2010-10-29 13:51:38 -04:00
952ae5caec
Fix typo in eti_update().
2010-10-29 13:51:38 -04:00
df5ff95999
Adapt branch for building with GTK+ 2.22.
2010-10-29 13:51:38 -04:00
d262e26a02
e-table: Remove unused dnd pixmaps
2010-10-29 13:50:05 -04:00
8563661b4e
e-table: Don't push/pop colormaps
...
It's not necessary anymore.
2010-10-29 13:50:04 -04:00
d98a5c50d4
e-table: Draw button with cairo
2010-10-29 13:50:04 -04:00
73ccbf4029
e-table: Draw ECellTree with cairo
2010-10-29 13:50:04 -04:00
90c26d6fe6
e-table: Remove retro look
...
It's not used by themes so I don't see the need to port it.
2010-10-29 13:50:04 -04:00
68c2986245
e-table: Remove unused GdkGC
2010-10-29 13:50:04 -04:00
1e74b08c03
e-table: Draw ECellText with cairo
2010-10-29 13:50:04 -04:00
39a6c1b9e7
e-table: Use gdk_pango_layout_get_clip_region() in ECellText
2010-10-29 13:50:04 -04:00
1f1d70ba44
e-table: Remove unused GdkGC from ECellToggle
2010-10-29 13:50:03 -04:00
eab0fac0cc
e-table: Use Pango ellipsizing instead of manual arrow drawing
2010-10-29 13:50:03 -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
7fe898ab0f
e-table: Convert coordinates using Cairo
2010-10-29 13:50:01 -04:00
11026671da
e-table: Remove unused member variables from ETableItem
...
x1 and y1 were never set, only used. Replace all users with 0 and remove
the members.
2010-10-29 13:50:01 -04:00
a7d37040bf
e-table: Draw grids with Cairo
...
Gets rid of the need for GdkGC completely.
2010-10-29 13:50:01 -04:00
e5cf725c52
e-table: Fix includes to only ever 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
5245a810b2
e-table: Draw focus with Cairo
2010-10-29 13:49:58 -04:00
4a95827168
e-table: Remove unused stipple variable
2010-10-29 13:49:58 -04:00
ed3ab11b8e
e-table: Use semi-transparent red instead of stippled red
...
...when marking a header for deletion. Not that this does currently not
work (it uses opaque red instead), but this change is required so
stippling can be removed. And that is necessary to switch to Cairo
drawing.
2010-10-29 13:49:58 -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
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
dae7739b3f
Bug #629645 - Sets negative 'width' property
2010-09-21 18:19:19 +02: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
b82402ca8c
Bug #563471 - Printing tasks fails when grouped by category.
...
This works if Tasks/ Memos/ Contacts are grouped till level 1.
If grouping level is increased then some text would be missing.
2010-09-14 11:25:16 +05:30
ebcce86769
Coding style and whitespace cleanups.
2010-09-11 14:14:04 -04:00
4c13763c5e
Convert ECell from a GtkObject to a GObject.
...
To eliminate the floating-reference-on-finalize run-time warnings.
2010-09-11 09:03:45 -04:00
1884f66c02
ECellText cleanups.
2010-08-29 09:37:18 -04:00
b91e79ec73
ESelectionModel cleanups.
2010-08-15 22:37:06 -04:00
81e5428a59
Coding style and whitespace cleanup.
2010-07-26 01:16:42 -04:00
95918d83ae
Workaround table header image draw, it crashes under clutter.
2010-07-25 21:30:00 -04: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