Commit Graph

197 Commits

Author SHA1 Message Date
60c4664090 Critical warning on ETree dispose, g_object_unref() called on freed object 2012-09-13 14:27:58 +02:00
c85109fc32 Coding style and whitespace cleanup. 2012-08-19 14:17:55 -04:00
7cbdc483cc all: don't set draw_background to FALSE on EText 2012-06-18 10:27:01 -04:00
23f5773903 Coding style and whitespace cleanup. 2012-02-20 10:04:25 -05:00
73fe6fb330 Bug #667398 - Automatic mark-as-seen too aggressive 2012-01-10 19:30:23 +01:00
aa75990c13 Bug #235665 - Heavy hard disk access when resizing columns in views 2011-10-07 15:35:15 +02:00
d58d259aa0 Fix two little memory leaks 2011-10-01 01:02:13 +02:00
a6de7fa6b8 Bug #659828 - Selecting a message with a sound attached loses focus 2011-09-26 12:26:59 +02:00
07b58617f3 Bug #655709 - Hide 'Group by' in views when not supported 2011-09-05 18:20:38 +02:00
fcbbdfbd18 Coding style and whitespace cleanup. 2011-09-04 07:34:32 -04:00
72d408c8a3 Bug #645476 - Message list unnecessarily scrolls back to selected row 2011-08-11 19:13:06 +02:00
f014ab82c8 Coding style and whitespace cleanups. 2011-06-08 13:14:48 -04:00
756c8abcb8 Bug #646109 - Fix use of include <config.h> to make sure translations work 2011-05-27 15:23:07 +02: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
c6fd77460f Coding style and whitespace cleanup. 2011-03-05 12:34:28 -05:00
1301cf02ef Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedly 2011-02-25 16:20:41 +01: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
21ab8044da Coding style and whitespace cleanup. 2011-01-29 20:22:57 -05:00
a103158cee Adapt ETree to latest gtk+-3.0 API. 2011-01-26 08:49:12 -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
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
0d4a84a5fe Bug #632768 - Message list not realized when opening new folder 2010-11-03 11:19:28 +01:00
8563661b4e e-table: Don't push/pop colormaps
It's not necessary anymore.
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
e5cf725c52 e-table: Fix includes to only ever include libgnomecanvas.h 2010-10-29 13:49:59 -04:00
5d812173d0 Drop usage of GtkAnchorType.
gtk+-3.0 removed it for being "unused".
2010-10-26 13:31:26 -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
a4cb2af922 Fix compiler warnings. 2010-04-21 08:18:39 -04:00
96421ff37c Use accessor functions instead direct access (GSEAL work)
Still remaining:
GtkAccessible::widget
GtkAssistant::forward
GtkAssistant::back
GtkObject::flags
GtkTreeStore::stamp

The GtkAssistant fields are related to bug #596428.  We don't
need accessor functions so much as the enhancement described
there implemented.

https://bugzilla.gnome.org/show_bug.cgi?id=615613
2010-04-13 16:23:16 +02:00
cbbc0a2c1f Bug #615263 - SIGSEGV on Evolution close in e-tree.c:1990 2010-04-12 23:57:35 +02:00
72797decc1 Giant leap towards GSEAL compliance. 2010-04-08 11:05:26 -04:00
e96830d65e Revert "[win32] #undef some conflicting defines"
This reverts commit 0e239e5551.
2010-04-06 16:47:59 +02:00
0e239e5551 [win32] #undef some conflicting defines 2010-04-06 12:21:21 +02: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
59a54ea5a0 Coding style and whitespace cleanup. 2010-02-19 12:11:52 -05:00
29a48cb2ce Fix ETable/ETree signal signatures.
To avoid another case like bug #587014, add GSignalAccumulator functions
to all ETable and ETree signals that return a flag to indicate the signal
has been handled.

See commit e9dc381d3a for an example of
the kind of problems not having a GSignalAccumulator can cause.

Signals changed:

  ETree::click
  ETree::right-click
  ETree::white-space-event
  ETable::click
  ETable::key-press
  ETable::right-click
  ETable::start-drag
  ETable::white-space-event
  ETableItem::click
  ETableItem::right-click
  ETableItem::start-drag
  ETableGroup::click
  ETableGroup::key-press
  ETableGroup::right-click
  ETableGroup::start-drag
2010-02-18 11:48:37 -05:00
e9dc381d3a Bug 587014 - Magic space does not work as expected
Neither ETree::key-press nor ETableItem::key-press signal definitions
specify a GSignalAccumulator that terminates the signal emission when
a handler returns TRUE, and Evolution 2.29 connects multiple handlers
to ETree::key-press.

When the space key is pressed, the first handler implements the magic
space bar behavior and returns TRUE, which should terminate signal
emission but doesn't because there's no accumulator function on the
signal.  So the second handler runs and checks for other keys besides
space.  It returns FALSE since it didn't handle the key press.

End result: emission site gets back FALSE (from the second handler) as
the return value, so it thinks the key press was not handled at all and
invokes the fallback handler -- e_selection_model_toggle_single_row() --
which -unselects- the newly selected row, making it appear the next
unread message was never selected.

Several other ETable-related signals that return "handled" flags also
lack GSignalAccumulator functions.  I've made a note to myself to fix
those as well.
2010-02-17 19:45:28 -05:00
62a56d5d8f Bug #593700 - Opens folder on top 2010-02-10 18:27:35 +01: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
abc0e4c694 Introduce ESelectable and EFocusTracker.
EFocusTracker tracks the input focus within a window and helps keep
the sensitivity of "selectable" actions in the main menu up-to-date.
Selectable actions include Cut, Copy, Paste, Select All and Delete.

EFocusTracker has built-in support for widgets that implement the
GtkEditable interface such as GtkEntry and GtkTextView.  It also
supports custom widgets that implement the ESelectable interface,
which is a subset of GtkEditable and can apply to anything that
displays selectable content (esp. tree views and ETables).

This commit integrates EFocusTracker with EShellWindow, CompEditor,
EMsgComposer, and ESignatureManager.

It also bumps the GtkHTML requirement to 2.29.5 to utilize the new
GtkhtmlEditor:html constructor property.
2009-12-25 15:42:17 -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