Commit Graph

125 Commits

Author SHA1 Message Date
a0d0dd604b Bug #594015 - Keeps "Loading..." node on the first fetch 2009-09-29 19:54:09 +02:00
92d0be6822 Fix return types 2009-08-26 22:12:52 +02:00
374bd42f69 Fix excessive whitespace. 2009-07-14 11:26:22 -04:00
174c942e09 Split store and local folder management out from shell backend. 2009-06-24 00:40:49 -04:00
f4d748a85c Fix similar weak pointer issues throughout. 2009-06-19 18:43:29 -04:00
ab27aff72c Thought of a better way to copy folder tree state.
Revert the expanded tree model column and add a "selection"property to
EMFolderTreeModel, which the sidebar sets.  If set, all new EMFolderTree
instances will automatically mimic its expanded and selected state.
2009-06-13 15:07:00 -04:00
49ba34088b Clean up EMFolderTreeModel. 2009-06-13 12:30:07 -04:00
be8ee53934 Use key files for tracking widget states.
Each EShellView now maintains a GKeyFile for recording disposable widget
state such as tree view path expansion, scroll bar positions, combo box
selections, etc.  The EShellView records changes to the key file to
~/.evolution/<shell-backend>/config/state, and automatically restores
the GKeyFile at startup.

Currently only the mailer uses the key file, but it's intended to serve
all shell views.  It replaces the use of Camel "cmeta" files, as well as
"et-expanded-*" and "folder-tree-expand-state.xml" files.

Also, the mailer's folder tree model now includes a column for tracking
which sidebar folders are expanded.  Folder tree widgets appearing in
dialog windows can copy the sidebar's expanded state using
em_folder_tree_clone_expanded().
2009-06-13 10:49:05 -04:00
9f77bfb1d6 Fix whitespace errors in mail/Makefile.am 2009-06-09 07:52:13 -04:00
df11214362 Bug #362907 - Give icons to Drafts/Sent/Templates folders 2009-06-09 06:51:19 -04:00
a868ce4a81 Bug 584154 – custom icon folder hook does not work 2009-06-02 10:39:19 -04:00
433eac7844 More code cleanup. 2009-06-02 10:35:03 -04:00
aefa76d0b3 Bug 323037 – Folder emblem to show new mail arrival 2009-06-01 09:00:01 -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
0cf607076d Fix compiler warnings in mail. 2009-05-26 10:58:25 -04:00
d3a3c1c3f0 Use named icons in the folder tree instead of pixbufs. 2009-05-24 15:24:15 -04:00
e4fa8fe104 Fix several types of pedantic compiler warnings. 2009-05-16 12:11:55 -04:00
03fe4bdcbc Fix most of the compiler warnings in mail. 2009-05-07 21:12:02 -04:00
16e2beab9e Adapt mail to EShellBackend changes.
Again, builds but not tested.  Lots of compiler warnings to clean up,
but I don't have the energy for it.  This was pretty grueling.
2009-05-07 16:38:32 -04:00
e42f276527 Bug 577929 – Consolidate marshallers
Consolidate all marshalling specifications to e-util/e-marshal.list.
This reduces code duplication and makes it slightly easier to locate
unused marshallers.
2009-04-23 10:02:07 -04:00
e0f414941d Split EAccountList and ESignatureList management out of the mail module.
This reduces the dependency of the composer on the mail module, which is
currently a circular dependency.

svn path=/branches/kill-bonobo/; revision=37135
2009-01-26 22:18:58 +00:00
32ffc3ca1c Make the sidebar icon follow the folder icon.
Fix more runtime warnings.

svn path=/branches/kill-bonobo/; revision=37130
2009-01-25 03:28:18 +00:00
d158af8cdf Merge revisions 36811:36865 from trunk.
svn path=/branches/kill-bonobo/; revision=36867
2008-12-10 18:30:29 +00:00
b607fe6bee ** Fix for bug #563369
2008-12-09  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #563369

	* em-folder-properties.c: (emfp_dialog_got_folder_quota):
	* em-folder-tree-model.c: (em_folder_tree_model_set_folder_info):
	* mail-component.c: (view_changed): Translate "Templates" folder name.


svn path=/trunk/; revision=36856
2008-12-09 12:58:00 +00:00
54b80a7271 Get the mail folder tree compiling, though I'm not yet sure why it's not
showing anything.  Probably something stupid.  Also enabled the composer.

svn path=/branches/kill-bonobo/; revision=36623
2008-10-17 03:48:03 +00:00
b2cda1d0c6 Merge revisions 36016:36533 from trunk.
svn path=/branches/kill-bonobo/; revision=36534
2008-10-01 20:56:04 +00:00
f9f3b67162 Change license from GPL to LGPL
svn path=/trunk/; revision=36381
2008-09-19 06:02:55 +00:00
cea054cd54 Merge revisions 35747:35930 from trunk.
svn path=/branches/kill-bonobo/; revision=35931
2008-08-08 04:26:12 +00:00
338375efac ** Fix for bug #543532
2008-07-28  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #543532

	* em-folder-tree-model.c: (em_folder_tree_model_remove_store_info):
	Let free memory when we are done with it, not before.


svn path=/trunk/; revision=35850
2008-07-28 07:29:00 +00:00
40547a996b ** Fix for bug #543411
2008-07-28  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #543411

	* mail/em-folder-tree-model.c: Dont load known folders.
	* mail/em-folder-tree.c: Move iter to the last entry.

svn path=/trunk/; revision=35841
2008-07-27 19:07:29 +00:00
94c501caf6 fixed copyright notices
svn path=/trunk/; revision=35663
2008-06-20 22:14:15 +00:00
b6b9772a2a ** Fix for bug #534039
2008-06-20  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #534039

	* em-folder-tree-model.h: (em_folder_tree_model_signal_block):
	* em-folder-tree-model.c: (em_folder_tree_model_signal_block):
	Removed obsolete function.
	* mail-vfolder.c: (vfolder_load_storage):
	Add storage to the tree model when everything is loaded, thus
	everything will be shown when enabling the Search Folders on demand.
	Also ensure the Search Folders to be enabled next start.
	* mail-vfolder.c: (mail_vfolder_add_uri), (mail_vfolder_delete_uri):
	Track folders even when Search Folders disabled, to have them
	known when enabling Search Folders on demand.


svn path=/trunk/; revision=35658
2008-06-20 13:21:33 +00:00
6e28ab6523 ** Fix for bug #514744
2008-03-17  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #514744

	* em-folder-tree-model.c: (em_folder_tree_model_load_state):
	Check also for proper root node and use default if not the right one.


svn path=/trunk/; revision=35209
2008-03-17 12:55:53 +00:00
0d3da13635 ** Fix for bug #511488
2008-01-24  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #511488

	* em-folder-tree-model.c: (em_folder_tree_model_signal_block):
	* em-folder-tree-model.h: Function to block folder-created function.
	* mail-vfolder.c: (vfolder_load_storage): Block the signal handler
	when loading.




svn path=/trunk/; revision=34905
2008-01-28 03:41:49 +00:00
d00f11c114 Send the folder name along with the new mail event.
2008-01-02  Srinivasa Ragavan  <sragavan@novell.com>

	* em-event.c: (eme_target_free):
	* em-event.h:
	* em-folder-tree-model.c: (em_folder_tree_model_get_folder_name):
	* em-folder-tree-model.h:
	* mail-folder-cache.c: (real_flush_updates): Send the folder name
	along with the new mail event.

svn path=/trunk/; revision=34744
2008-01-02 08:24:23 +00:00
62f68fae21 Just remove the mail-remote plugin altogether so we stop going back and
2007-12-15  Matthew Barnes  <mbarnes@redhat.com>

	* configure.in:
	* plugins/mail-remote:
	Just remove the mail-remote plugin altogether so we stop going
	back and forth over whether the translatable files should be added
	to POTFILES.in.  We can always add it back once we get it working
	again.

	* po/POTFILES.in:
	Remove the mail-remote files for good this time.

	* mail/em-folder-tree-model.c (emft_model_unread_count_changed),
	(emfolder_tree_model_set_unread_count):
	Fix recently introduced compiler warnings.

	* plugins/mail-remote:
	Remove this plugin until it can be fixed.

	* ui/evolution.xml:
	Fix capitalization of "Download Messages..." (HIG 8.3.2).


svn path=/trunk/; revision=34706
2007-12-16 03:55:23 +00:00
1e2bc8d38c Moving some code from tree to model where it belongs. Fixes some CPU usage
2007-12-14  Sankar P  <psankar@novell.com>

	* em-folder-tree-model.c: (emft_model_unread_count_changed),
	(em_folder_tree_model_init),
	(em_folder_tree_model_set_unread_count):
	* em-folder-tree.c: (em_folder_tree_construct):
	Moving some code from tree to model where it belongs.
	Fixes some CPU usage issue whenever (un)read count is updated.
	Hopefully no regresssions.



svn path=/trunk/; revision=34698
2007-12-14 12:37:56 +00:00
9e4fcb29cf ** Remove trailing whitespace from source code.
2007-11-14  Matthew Barnes  <mbarnes@redhat.com>

	** Remove trailing whitespace from source code.


svn path=/trunk/; revision=34537
2007-11-14 22:04:21 +00:00
e335802981 ** Fix for bug #343011 (restore collapse state of selected folder after
2007-11-05  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #343011
	(restore collapse state of selected folder after start)

	* em-folder-tree.c: (emft_maybe_expand_row): Do not expand subtree of
	a node, only make it visible.
	* em-folder-tree-model.h: (em_folder_tree_model_get_expanded_uri),
	(em_folder_tree_model_set_expanded_uri):
	* em-folder-tree-model.c: (em_folder_tree_model_get_expanded_uri),
	(em_folder_tree_model_set_expanded_uri):
	Same as ..._get/_set_expanded, but using 'uri', instead of 'key'.
	* em-folder-tree-model.c: (emftm_uri_to_key): New helper function.
	* mail-component.c: (impl_createView): Restore collapsed state after
	selecting last selected folder, if necessary.


svn path=/trunk/; revision=34503
2007-11-05 11:49:53 +00:00
d0a918cc53 ** Fix for bug #484635
2007-10-09  Bharath Acharya  <abharath@novell.com>

	** Fix for bug #484635

	* em-folder-tree-model.c: (em_folder_tree_model_remove_store_info): 
	Destroy functions in GHashTables to simplify memory management already 
	free the store info. So do no free it again in this function.


svn path=/trunk/; revision=34365
2007-10-09 12:53:31 +00:00
09d4af6fff ** Fixes bug #469657
2007-10-02  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #469657

	* addressbook/importers/evolution-ldif-importer.c:
	* calendar/gui/comp-editor-factory.c:
	* composer/e-msg-composer.c:
	* e-util/e-config-listener.c:
	* mail/em-composer-prefs.c:
	* mail/em-folder-tree-model.c:
	* mail/em-format.c:
	* mail/em-format-html.c:
	* mail/em-migrate.c:
	* mail/em-subscribe-editor.c:
	* mail/mail-component.c:
	* mail/mail-send-recv.c:
	* mail/message-list.c:
	* mail/importers/elm-importer.c:
	* plugins/exchange-operations/exchange-folder-size-display.c:
	* plugins/mono/mono-plugin.c:
	* shell/e-shell-settings-dialog.c:
	* tools/killev.c:
	* widgets/table/e-table-extras.c:
	* widgets/table/e-table-selection-model.c:
	Use destroy functions in GHashTables to simplify memory management.


svn path=/trunk/; revision=34344
2007-10-02 11:54:42 +00:00
8e47917e8c Update FSF address in header comments (#469886). Patch from Tobias
2007-09-02  Matthew Barnes  <mbarnes@redhat.com>

	* Update FSF address in header comments (#469886).
	  Patch from Tobias Mueller.


svn path=/trunk/; revision=34151
2007-09-02 04:19:22 +00:00
e7d6ad6d83 ** Move away from g_assert to g_return* calls
svn path=/trunk/; revision=34143
2007-08-31 05:24:51 +00:00
9d8d0e8a3e ** Fix for bug #464312
svn path=/trunk/; revision=33965
2007-08-07 10:53:12 +00:00
b977b54e2f ** Fix for bug #437935 from Gilles Dartiguelongue
svn path=/trunk/; revision=33698
2007-06-18 05:17:37 +00:00
13d4452306 Fix compilation warnings in mail folder (#437935).
svn path=/trunk/; revision=33628
2007-06-03 02:54:32 +00:00
c12711e656 Improvements to the new mail hook.
svn path=/trunk/; revision=33470
2007-05-03 07:45:12 +00:00
64977cb1bc Massive code cleanup (bug #429422)
svn path=/trunk/; revision=33432
2007-04-19 18:53:33 +00:00