Commit Graph

223 Commits

Author SHA1 Message Date
c85109fc32 Coding style and whitespace cleanup. 2012-08-19 14:17:55 -04:00
14f82dde34 Move EAlert* and e-xml-utils references from other part of the code to libevolution-utils. 2012-03-03 09:02:33 -05:00
23f5773903 Coding style and whitespace cleanup. 2012-02-20 10:04:25 -05:00
aa75990c13 Bug #235665 - Heavy hard disk access when resizing columns in views 2011-10-07 15:35:15 +02:00
b73a8f243e ETableHeader: Rework the header button drawing code for GTK+ 3
The code in ETable that draws the button headers is outdated, and uses
deprecated gtk_paint_* functions mixed with cairo.

Port the code to use the GtkStyleContext API, which allows themes to
give the header the same appearance of a regular GtkTreeView header.
2011-09-30 11:44:21 -04:00
fcbbdfbd18 Coding style and whitespace cleanup. 2011-09-04 07:34:32 -04:00
f014ab82c8 Coding style and whitespace cleanups. 2011-06-08 13:14:48 -04:00
03320071af Move EPopupMenu to /widgets/table.
ETableHeaderItem is the last user of EPopupMenu.  Move it to
/widgets/table to discourage further use and strip out unused features.

The functionality it provides has long since been superseded by
GtkUIManager and GtkAction.
2011-06-01 09:24:39 -04:00
394e580dfd Including <glib.h> directly is rarely needed. 2011-05-28 10:39:52 -04:00
756c8abcb8 Bug #646109 - Fix use of include <config.h> to make sure translations work 2011-05-27 15:23:07 +02:00
cb97c2dc8f Coding style and whitespace cleanup. 2011-05-21 17:56:06 -04:00
8a186c3588 Coding style cleanups. 2011-05-08 13:37:20 -04:00
4cfb84c573 Whitespace and coding style cleanups. 2011-05-07 18:48:38 -04:00
1a4be6c521 Use G_SIGNAL_TYPE_STATIC_SCOPE for all GdkEvent signal params.
I thought this might be the cause of bug #643089.
Turns out it wasn't, but it's a good thing to do anyway.
2011-02-24 14:19:20 -05:00
fcb29478f6 Coding style and whitespace cleanup. 2011-02-18 20:44:24 -05:00
7a1677520d Remove NULL checks for GObject methods.
As of GLib 2.28 all GObject virtual methods, including constructed(),
are safe to chain up to unconditionally.  Remove unnecessary checks.
2011-02-12 12:54:08 -05:00
2c31a5bc23 Bug 641756 - Fix warnings from GCC 4.6
GCC learned how to find dead assignments.
2011-02-08 11:57:50 -05:00
0109aa3a92 More whitespace cleanup. 2011-01-30 11:33:28 -05:00
21ab8044da Coding style and whitespace cleanup. 2011-01-29 20:22:57 -05:00
b4e2a4b0dc Adapt ETableHeaderItem to latest gtk+-3.0 API. 2011-01-26 08:49:12 -05:00
dc300e6bc8 gdk_cursor_unref() -> g_object_unref() 2011-01-25 10:28:26 -05:00
753c60fc67 Drop backward-compatibility cruft. 2011-01-25 10:28:26 -05:00
992c8b7d58 libetable cleanups. 2011-01-16 18:52:52 -05:00
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
74098399cc Minor compiler warnings fix 2010-12-21 15:00:15 +01:00
a891b81cfb Coding style and whitespace cleanup. 2010-11-07 21:13:03 -05: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
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
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
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
1c6f2d154e Bug #631320 - GtkObject is gone in GTK3 2010-10-06 19:26:08 +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
ebcce86769 Coding style and whitespace cleanups. 2010-09-11 14:14:04 -04:00
eb29179da6 Coding style and whitespace cleanup. 2010-07-11 22:25:06 -04:00
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
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
56e6bdb414 Bug 612374 - Build failure due to recent GTK+ deprecations 2010-03-10 07:40:21 -05:00
49ef32b76c Coding style and whitespace cleanup. 2010-02-07 13:26:37 -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
79741ccd3f Bug 606250 - Remove usage of deprecated GTK+ symbols
Several GtkWidget macros were recently deprecated.
2010-01-07 14:45:43 -05:00
1501b8588c Kill e_popup_menu().
The function is trivial and was only used from ETableHeaderItem.
This also eliminates widgets/misc/e-gui-utils.[ch].
2010-01-04 20:22:21 -05:00
5beeca1f80 Kill e-cursor(s) (both of them). 2009-11-09 21:19:20 -05:00
58166e6459 Prefer G_N_ELEMENTS over sizeof calculations. 2009-10-27 09:25:01 -04:00
a0bf55c624 Bug #411768 - Don't remove column by drag&drop out of a table header 2009-10-15 20:18:40 +02: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