Commit Graph

310 Commits

Author SHA1 Message Date
7132d0f0c2 Including <glib.h> directly is rarely needed. 2011-06-29 18:42:21 +02:00
c24038c4f6 Bug #646109 - Fix use of include <config.h> to make sure translations work 2011-06-29 18:42:20 +02:00
5146ff4c53 Coding style and whitespace cleanup. 2011-06-29 18:42:17 +02:00
54da4fc09c Coding style cleanups. 2011-06-29 18:42:11 +02:00
578214584c Whitespace and coding style cleanups. 2011-06-29 18:42:10 +02:00
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
dbc22f9de5 More whitespace cleanup. 2011-06-29 18:41:29 +02:00
6af0c53b69 Coding style and whitespace cleanup. 2011-06-29 18:41:29 +02:00
7e48c129b5 Adapt ETable to latest gtk+-3.0 API. 2011-06-29 18:41:26 +02:00
b5aba428f4 Adapt size_request vfuncs to latest gtk+-3.0 API. 2011-06-29 18:41:26 +02:00
a3ba231fcc Drop backward-compatibility cruft. 2011-06-29 18:41:25 +02:00
dfc4205ce5 libetable cleanups. 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
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
8563661b4e e-table: Don't push/pop colormaps
It's not necessary anymore.
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
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
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
c30d29425e Coding style and whitespace cleanup. 2010-05-01 23:18:28 -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
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
a0f7dea42b Bug #610824 - Contacts list view column width doesn't follow header 2010-02-24 16:39:57 +01: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
0cc56c014f Bug 602416 - Changing shell views emits many runtime warnings 2010-02-06 20:48:27 -05:00
ec73f5522f Coding style and whitespace cleanup. 2010-01-30 18:09:19 -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
6ca624a22f Bug #590127 - Define ETable::vertical-spacing style property 2009-11-18 11:53:20 +01:00
2c4510e858 Merge commit 'EVOLUTION_2_27_5' into kill-bonobo 2009-07-28 11:24:49 -04:00
fa360fde28 More whitespace cleanup. 2009-07-18 14:07:42 -04:00
dcf2c0e754 More whitespace cleanup. 2009-07-18 14:05:38 -04:00
6ed8ba1cb1 Bug #266150 - In list view Delete option not working in menu and toolbar 2009-07-16 18:12:18 +02:00
374bd42f69 Fix excessive whitespace. 2009-07-14 11:26:22 -04:00
0274669179 Fix excessive whitespace. 2009-07-12 23:33:07 -04:00
f0d3f3afdf Radically reorganize source code.
- Collect all shell modules into a new top-level 'modules' directory:

      $(top_srcdir)/modules/addressbook
      $(top_srcdir)/modules/calendar
      $(top_srcdir)/modules/mail

  Nothing is allowed to link to these, not plugins nor other modules.

  THIS SOLVES BUG #571275 AND OPENS THE DOOR TO PORTING TO MAC OS X.

- Mimic the libevolution-mail-shared library from master (except drop
  the "shared" suffix) and have libevolution-mail-importers and all
  mail-related plugins link to it.

- Discard the a11y subdirectories and have the files live alongside
  their counterpart widgets.
2009-06-24 18:29:22 -04:00
433eac7844 More code cleanup. 2009-06-02 10:35:03 -04:00
8771a6de35 More code cleanup. 2009-06-01 19:09:19 -04:00
14f8eee012 Whitespace cleanup. 2009-05-28 13:21:01 -04:00
6413227cef Whitespace cleanup. 2009-05-28 13:13:05 -04:00
fad4af8a3d Prefer GLib basic types over C types. 2009-05-28 12:13:23 -04:00
6f5464f34c Remove trailing whitespace, again. 2009-05-28 12:13:22 -04:00
948235c3d1 Prefer GLib basic types over C types. 2009-05-27 10:29:19 -04:00
cc3a98fc1a Merge branch 'master' into kill-bonobo
Conflicts:
	a11y/widgets/ea-combo-button.c
	a11y/widgets/ea-combo-button.h
	addressbook/gui/component/addressbook-component.c
	addressbook/gui/component/addressbook-component.h
	addressbook/gui/component/addressbook-view.c
	addressbook/gui/component/addressbook-view.h
	addressbook/gui/component/component-factory.c
	addressbook/gui/widgets/e-addressbook-view.c
	addressbook/gui/widgets/eab-contact-display.c
	addressbook/gui/widgets/eab-gui-util.h
	addressbook/gui/widgets/eab-menu.c
	addressbook/gui/widgets/eab-menu.h
	addressbook/gui/widgets/eab-popup-control.c
	addressbook/gui/widgets/eab-popup-control.h
	addressbook/gui/widgets/eab-popup.c
	addressbook/gui/widgets/eab-popup.h
	calendar/gui/cal-search-bar.c
	calendar/gui/calendar-commands.c
	calendar/gui/calendar-component.c
	calendar/gui/comp-editor-factory.c
	calendar/gui/comp-editor-factory.h
	calendar/gui/control-factory.c
	calendar/gui/dialogs/comp-editor.c
	calendar/gui/e-cal-component-memo-preview.c
	calendar/gui/e-cal-component-memo-preview.h
	calendar/gui/e-calendar-table.c
	calendar/gui/e-memo-table.c
	calendar/gui/e-memos.c
	calendar/gui/e-tasks.c
	calendar/gui/gnome-cal.c
	calendar/gui/gnome-cal.h
	calendar/gui/itip-bonobo-control.c
	calendar/gui/itip-bonobo-control.h
	calendar/gui/main.c
	calendar/gui/memos-component.c
	calendar/gui/memos-control.c
	calendar/gui/memos-control.h
	calendar/gui/migration.c
	calendar/gui/migration.h
	calendar/gui/tasks-component.c
	calendar/gui/tasks-control.c
	calendar/importers/main.c
	composer/Makefile.am
	composer/e-composer-header-table.c
	composer/e-composer-header.c
	composer/e-composer-header.h
	composer/e-composer-name-header.c
	composer/e-composer-private.c
	composer/e-composer-text-header.c
	composer/e-msg-composer.c
	composer/e-msg-composer.h
	e-util/e-corba-utils.h
	e-util/e-logger.c
	e-util/e-logger.h
	e-util/e-util-labels.c
	e-util/e-util-labels.h
	em-format/em-format.c
	mail/Makefile.am
	mail/e-mail-shell-migrate.c
	mail/em-account-editor.c
	mail/em-account-editor.h
	mail/em-composer-prefs.c
	mail/em-composer-utils.c
	mail/em-composer-utils.h
	mail/em-folder-browser.c
	mail/em-folder-tree-model.c
	mail/em-folder-tree.c
	mail/em-folder-tree.h
	mail/em-folder-utils.c
	mail/em-folder-utils.h
	mail/em-folder-view.c
	mail/em-format-html-display.c
	mail/em-format-html.c
	mail/em-mailer-prefs.c
	mail/em-mailer-prefs.h
	mail/em-message-browser.c
	mail/em-message-browser.h
	mail/em-network-prefs.h
	mail/em-popup.c
	mail/em-utils.c
	mail/importers/Makefile.am
	mail/mail-component-factory.c
	mail/mail-component.c
	mail/mail-config-factory.c
	mail/mail-config-factory.h
	mail/mail-config.c
	mail/mail-dialogs.glade
	mail/mail-types.h
	plugins/calendar-weather/calendar-weather.c
	plugins/mail-account-disable/mail-account-disable.c
	plugins/select-one-source/select-one-source.c
	po/POTFILES.in
	shell/e-component-registry.c
	shell/e-component-registry.h
	shell/e-component-view.c
	shell/e-component-view.h
	shell/e-corba-config-page.c
	shell/e-corba-config-page.h
	shell/e-shell-constants.h
	shell/e-shell-settings-dialog.c
	shell/e-shell-settings-dialog.h
	shell/e-shell-window-commands.c
	shell/e-shell-window.c
	shell/e-shell.h
	shell/e-sidebar.c
	shell/e-sidebar.h
	shell/e-user-creatable-items-handler.c
	shell/e-user-creatable-items-handler.h
	shell/es-menu.c
	shell/es-menu.h
	shell/evolution-component.h
	shell/evolution-config-control.c
	shell/evolution-config-control.h
	shell/evolution-listener.c
	shell/evolution-listener.h
	shell/evolution-shell-component-utils.c
	shell/evolution-shell-component-utils.h
	shell/importer/evolution-importer-client.c
	shell/importer/evolution-importer-client.h
	shell/importer/evolution-importer-listener.c
	shell/importer/evolution-importer-listener.h
	shell/importer/evolution-importer.c
	shell/importer/evolution-importer.h
	shell/importer/evolution-intelligent-importer.c
	shell/importer/evolution-intelligent-importer.h
	shell/importer/intelligent.c
	shell/main.c
	shell/test/evolution-test-component.c
	shell/test/evolution-test-component.h
	widgets/menus/gal-view-instance.c
	widgets/menus/gal-view-menus.c
	widgets/menus/gal-view-menus.h
	widgets/misc/Makefile.am
	widgets/misc/e-activity-handler.c
	widgets/misc/e-activity-handler.h
	widgets/misc/e-charset-picker.c
	widgets/misc/e-combo-button.c
	widgets/misc/e-combo-button.h
	widgets/misc/e-config-page.h
	widgets/misc/e-dropdown-button.c
	widgets/misc/e-dropdown-button.h
	widgets/misc/e-filter-bar.c
	widgets/misc/e-info-label.c
	widgets/misc/e-info-label.h
	widgets/misc/e-multi-config-dialog.c
	widgets/misc/e-multi-config-dialog.h
	widgets/misc/e-search-bar.c
	widgets/misc/e-search-bar.h
	widgets/misc/e-task-bar.c
	widgets/misc/e-task-bar.h
	widgets/misc/e-task-widget.c
	widgets/misc/e-task-widget.h
	widgets/misc/test-dropdown-button.c
	widgets/misc/test-error.c
	widgets/misc/test-info-label.c
	widgets/table/e-table-example-1.c
2009-05-27 08:37:17 -04:00
e4afd3f9fb Remove trailing whitespace, again. 2009-05-26 23:21:02 -04:00