Commit Graph

1341 Commits

Author SHA1 Message Date
Milan Crha aa21f8d950 Bug #645476 - Message list unnecessarily scrolls back to selected row 2011-09-14 14:08:48 +02:00
Matthew Barnes ce62390010 Replace G_CONST_RETURN with 'const'.
GLib is finally dropping this hack.
2011-06-29 18:42:26 +02:00
Matthew Barnes e7954c3f25 Coding style and whitespace cleanups. 2011-06-29 18:42:26 +02:00
Milan Crha e68165697e Bug #643526 - Crash in et_get_n_children 2011-06-29 18:42:26 +02:00
Matthew Barnes f8ebb73085 Embed e_hsv_tweak() directly in e-table-item.c.
ETableItem is the last user of e_hsv_tweak().
This allows us to remove widgets/misc/e-hsv-utils.[ch].
2011-06-29 18:42:22 +02:00
Matthew Barnes d6a1733667 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-29 18:42:22 +02:00
Matthew Barnes f043e3c748 Including <glib-object.h> directly is rarely needed. 2011-06-29 18:42:21 +02:00
Matthew Barnes 7132d0f0c2 Including <glib.h> directly is rarely needed. 2011-06-29 18:42:21 +02:00
Milan Crha c24038c4f6 Bug #646109 - Fix use of include <config.h> to make sure translations work 2011-06-29 18:42:20 +02:00
Matthew Barnes 5146ff4c53 Coding style and whitespace cleanup. 2011-06-29 18:42:17 +02:00
Matthew Barnes 76ca149448 Bug 649990 - Remove get_font_options() from e-util.c.
Not only is get_font_options() no longer needed, it's actually doing the
wrong thing by reading settings through GConfClient instead of GSettings.

But it turns out, thanks to the tighter Cairo integration in GTK3, the
widgets that call get_font_options() can be made to work correctly by
simply removing this hack.  Love it when that happens.
2011-06-29 18:42:16 +02:00
Matthew Barnes 54da4fc09c Coding style cleanups. 2011-06-29 18:42:11 +02:00
Matthew Barnes 578214584c Whitespace and coding style cleanups. 2011-06-29 18:42:10 +02:00
Matthew Barnes bdc7347182 Work around another a11y crash.
Some kind of object lifetime issue in GalA11yETableItem.  Just work
around it for now.  Killing this class would pretty much mean killing
a11y support for ETables entirely and I'm not that pissed off... yet.
2011-06-29 18:41:54 +02:00
Matthew Barnes 7aacf983b3 Coding style and whitespace cleanup. 2011-06-29 18:41:41 +02:00
Matthew Barnes ab870b27cd Fix Gtk-Doc comment notation.
Seeing lots of what I assume to be doxygen syntax in comment blocks.
2011-06-29 18:41:40 +02:00
Milan Crha c003c99a75 Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedly 2011-06-29 18:41:39 +02:00
Matthew Barnes f55aaa5e00 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-06-29 18:41:38 +02:00
Matthew Barnes 3b6c8972a5 Coding style and whitespace cleanup. 2011-06-29 18:41:36 +02:00
Milan Crha a4e2599f95 Fix few memory leaks 2011-06-29 18:41:35 +02:00
Matthew Barnes 274697623e 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-06-29 18:41:34 +02:00
Milan Crha fdffa9ec4a Fix a build break due to #error pragma 2011-06-29 18:41:32 +02:00
Kjartan Maraas 8efc1bc6f9 Bug 641756 - Fix warnings from GCC 4.6
GCC learned how to find dead assignments.
2011-06-29 18:41:31 +02:00
Matthew Barnes dbc22f9de5 More whitespace cleanup. 2011-06-29 18:41:29 +02:00
Matthew Barnes 6af0c53b69 Coding style and whitespace cleanup. 2011-06-29 18:41:29 +02:00
Matthew Barnes bd98a2d620 Adapt ETree to latest gtk+-3.0 API. 2011-06-29 18:41:27 +02:00
Matthew Barnes 664556ed0f Adapt ECell classes to latest gtk+-3.0 API. 2011-06-29 18:41:27 +02:00
Matthew Barnes b754e4a5d2 Adapt ETableHeaderItem to latest gtk+-3.0 API. 2011-06-29 18:41:27 +02:00
Matthew Barnes 0dd0f9b28f Adapt ETableFieldChooserItem to latest gtk+-3.0 API. 2011-06-29 18:41:27 +02:00
Matthew Barnes 1da1900251 Adapt ETableItem to latest gtk+-3.0 API. 2011-06-29 18:41:27 +02:00
Matthew Barnes 7e48c129b5 Adapt ETable to latest gtk+-3.0 API. 2011-06-29 18:41:26 +02:00
Rodrigo Moya b5aba428f4 Adapt size_request vfuncs to latest gtk+-3.0 API. 2011-06-29 18:41:26 +02:00
Vibha Yadav dbbe7408c5 Avoid using deprecated GTK_SELECTION_EXTENDED
Using GTK_SELECTION_MULTIPLE.
As Deprecated, GTK_SELECTION_EXTENDED behaves identical to
GTK_SELECTION_MULTIPLE.
2011-06-29 18:41:25 +02:00
Matthew Barnes 9914970baa gdk_cursor_unref() -> g_object_unref() 2011-06-29 18:41:25 +02:00
Matthew Barnes a3ba231fcc Drop backward-compatibility cruft. 2011-06-29 18:41:25 +02:00
Matthew Barnes dfc4205ce5 libetable cleanups. 2011-06-29 18:41:19 +02:00
Matthew Barnes 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
Matthew Barnes 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
Matthew Barnes 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
Matthew Barnes 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
Milan Crha c3d6ab4b55 Minor compiler warnings fix 2011-06-29 18:41:13 +02:00
Milan Crha e0cbce9595 Reset IM context when entering ECellText editing 2011-06-29 18:41:04 +02:00
Vibha Yadav 9e833a704c Bug #633774 - Headers are gone in grouped view 2010-11-16 10:43:16 +01:00
Matthew Barnes 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
Matthew Barnes 7439ad9ca1 Fix distcheck errors. 2010-11-09 23:33:23 +01:00
Matthew Barnes 7e9fc6d2b6 Coding style and whitespace cleanup. 2010-11-09 23:33:23 +01:00
Milan Crha 033bed834e Bug #632768 - Message list not realized when opening new folder 2010-11-09 23:33:21 +01:00
Milan Crha 3b3b6cb0ab Add forgotten cairo_destroy() calls 2010-11-09 23:33:21 +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