Matthew Barnes
992c8b7d58
libetable cleanups.
2011-01-16 18:52:52 -05:00
Matthew Barnes
a4d8c30310
Merge miscellaneous changes from gtk3 branch.
...
Mostly coding style and whitespace changes, to reduce diff noise.
2011-01-14 15:58:16 -05:00
Matthew Barnes
d47adb5922
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-01-14 14:58:30 -05:00
Matthew Barnes
0af3ff804c
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-01-14 14:58:29 -05:00
Matthew Barnes
7a6b767335
ETree: Fix runtime warnings with GTK3.
...
ETable has a "vertical-spacing" style property, ETree does not.
ECellText expects it to be in both.
2011-01-09 09:32:29 -05:00
Milan Crha
74098399cc
Minor compiler warnings fix
2010-12-21 15:00:15 +01:00
Milan Crha
64966f8789
Reset IM context when entering ECellText editing
2010-11-23 18:08:50 +01:00
Vibha Yadav
41117c2b8c
Bug #633774 - Headers are gone in grouped view
2010-11-15 11:10:15 +01:00
Matthew Barnes
abd2711b00
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-10 13:55:15 -05:00
Matthew Barnes
1ca2b18e67
Fix distcheck errors.
2010-11-08 00:23:13 -05:00
Matthew Barnes
a891b81cfb
Coding style and whitespace cleanup.
2010-11-07 21:13:03 -05:00
Milan Crha
0d4a84a5fe
Bug #632768 - Message list not realized when opening new folder
2010-11-03 11:19:28 +01:00
Milan Crha
c2b2e863cb
Add forgotten cairo_destroy() calls
2010-11-02 11:17:51 +01:00
Matthew Barnes
75f1dc888e
Fix cursor drawing in ECellText.
2010-10-29 13:51:38 -04:00
Matthew Barnes
952ae5caec
Fix typo in eti_update().
2010-10-29 13:51:38 -04:00
Matthew Barnes
df5ff95999
Adapt branch for building with GTK+ 2.22.
2010-10-29 13:51:38 -04:00
Benjamin Otte
d262e26a02
e-table: Remove unused dnd pixmaps
2010-10-29 13:50:05 -04:00
Benjamin Otte
8563661b4e
e-table: Don't push/pop colormaps
...
It's not necessary anymore.
2010-10-29 13:50:04 -04:00
Benjamin Otte
d98a5c50d4
e-table: Draw button with cairo
2010-10-29 13:50:04 -04:00
Benjamin Otte
73ccbf4029
e-table: Draw ECellTree with cairo
2010-10-29 13:50:04 -04:00
Benjamin Otte
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
Benjamin Otte
68c2986245
e-table: Remove unused GdkGC
2010-10-29 13:50:04 -04:00
Benjamin Otte
1e74b08c03
e-table: Draw ECellText with cairo
2010-10-29 13:50:04 -04:00
Benjamin Otte
39a6c1b9e7
e-table: Use gdk_pango_layout_get_clip_region() in ECellText
2010-10-29 13:50:04 -04:00
Benjamin Otte
1f1d70ba44
e-table: Remove unused GdkGC from ECellToggle
2010-10-29 13:50:03 -04:00
Benjamin Otte
eab0fac0cc
e-table: Use Pango ellipsizing instead of manual arrow drawing
2010-10-29 13:50:03 -04:00
Benjamin Otte
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
Benjamin Otte
7fe898ab0f
e-table: Convert coordinates using Cairo
2010-10-29 13:50:01 -04:00
Benjamin Otte
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
Benjamin Otte
a7d37040bf
e-table: Draw grids with Cairo
...
Gets rid of the need for GdkGC completely.
2010-10-29 13:50:01 -04:00
Benjamin Otte
e5cf725c52
e-table: Fix includes to only ever include libgnomecanvas.h
2010-10-29 13:49:59 -04:00
Benjamin Otte
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
Benjamin Otte
5245a810b2
e-table: Draw focus with Cairo
2010-10-29 13:49:58 -04:00
Benjamin Otte
4a95827168
e-table: Remove unused stipple variable
2010-10-29 13:49:58 -04:00
Benjamin Otte
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
Matthew Barnes
5d812173d0
Drop usage of GtkAnchorType.
...
gtk+-3.0 removed it for being "unused".
2010-10-26 13:31:26 -04:00
Milan Crha
f0714755e2
Memory leaks around g_value_set_string
2010-10-22 15:42:21 +02:00
Milan Crha
1c6f2d154e
Bug #631320 - GtkObject is gone in GTK3
2010-10-06 19:26:08 +02:00
Matthew Barnes
9675f18d91
Coding style and whitespace cleanup.
2010-10-03 13:29:20 -04:00
Milan Crha
dae7739b3f
Bug #629645 - Sets negative 'width' property
2010-09-21 18:19:19 +02:00
Matthew Barnes
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
Vibha Yadav
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
Matthew Barnes
ebcce86769
Coding style and whitespace cleanups.
2010-09-11 14:14:04 -04:00
Matthew Barnes
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
Matthew Barnes
1884f66c02
ECellText cleanups.
2010-08-29 09:37:18 -04:00
Matthew Barnes
b91e79ec73
ESelectionModel cleanups.
2010-08-15 22:37:06 -04:00
Matthew Barnes
81e5428a59
Coding style and whitespace cleanup.
2010-07-26 01:16:42 -04:00
Srinivasa Ragavan
95918d83ae
Workaround table header image draw, it crashes under clutter.
2010-07-25 21:30:00 -04:00
Matthew Barnes
eb29179da6
Coding style and whitespace cleanup.
2010-07-11 22:25:06 -04:00
Matthew Barnes
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