Commit Graph

2191 Commits

Author SHA1 Message Date
a7f8b56ec4 Rearrange variables and Windows-only code to avoid warning 2009-11-11 15:29:52 +02:00
3dfdf087fc Kill more redundant save dialogs and related utilities. 2009-11-10 18:18:11 -05:00
5beeca1f80 Kill e-cursor(s) (both of them). 2009-11-09 21:19:20 -05:00
86ecfc5053 Convert some "Save As" actions to run asynchronously.
This introduces e-shell-utils for miscellaneous utility functions
that integrate with the shell or shell settings.  First function
is e_shell_run_save_dialog(), which automatically remembers the
selected folder in the file chooser dialog.

Also, kill some redundant save dialog functions, as well as some
write-this-string-to-disk functions that block.
2009-11-07 14:01:46 -05:00
aa66a17e40 Test drive EIOActivity with a simple asynchronous function.
Rename e-fsutils to e-file-utils.  This is where we'll add asynchronous
functions for common file I/O operations with EActivity integration.

Start with e_file_replace_contents_async() (and corresponding finish()
function).  This is a simple wrapper for g_file_replace_contents_async()
which also returns an EActivity.  It replaces e_write_file_uri().

Also redesign EIOActivity to -contain- a GAsyncResult rather than
implement the interface for itself.  This is easier for now but I may
change my mind again when I figure out how to tie centralized error
reporting into the EActivity framework.
2009-11-07 14:01:46 -05:00
a1f990ef82 Move EActivity and subclasses to e-util.
Planning to write some asynchronous utility functions in e-util that
return EActivity objects.
2009-11-07 14:01:45 -05:00
c75bacce45 Fix few compiler warnings 2009-11-03 13:06:38 +01:00
c8a9da9436 Bug 599890 - Search should not be remembered across folders 2009-10-29 19:35:40 -04:00
1cd5fb6de3 Don't update the message list when right-clicking on a folder.
After the folder's context menu closes the folder tree selection jumps
back to the folder whose contents are showing in the message list.
Suggested by Philippe LeCavalier on evolution-list.
2009-10-28 09:47:57 -04:00
2b16aef841 Cleanup and rename filter classes. 2009-10-27 09:25:01 -04:00
362260797f Bug #599740 - Crashing in g_thread_init 2009-10-27 10:53:48 +01:00
c15a8e695a Clean up e_shell_get_active_window()
Clarify the documentation and simplify the logic.
2009-10-21 00:02:08 -04:00
e06b88c4fd Bug #594471 - Shouldn't call e_error_new/run with NULL 'parent' 2009-10-13 16:24:10 +02:00
8fffb9de5d Bug 596952 - Offline mode does not stick when set from command line 2009-10-07 15:05:15 -05:00
ad4df4c04b Clean up includes in main.c. 2009-10-07 14:50:07 -05:00
993cfc00e9 Shell cleanup. 2009-10-07 10:14:55 -05:00
656178049b Build with GTK_DISABLE_DEPRECATED and fix resulting breakage. 2009-10-01 16:24:49 -04:00
f62728b55e Bug 596848 - Use per-target CPPFLAGS in automake files 2009-09-30 23:37:50 -04:00
0ed3ee1fa3 Bug #596753 - Autocompletion addressbooks not remembered
And select page in Edit->Preferences based on the active view.
2009-09-29 20:10:35 +02:00
bab29564a3 Show import progress directly in the assistant window. 2009-09-26 10:28:36 -04:00
43a1145226 Rename EShellImporter to EImportAssistant and move it to widgets. 2009-09-26 10:28:24 -04:00
c30e55b2d5 Convert the shell importer to a widget class. 2009-09-26 10:28:18 -04:00
1dff09f9e2 Shell importer does not need an EShellWindow. 2009-09-26 10:28:11 -04:00
3b2cfae176 Trim unused or unnecessary bits from the import framework. 2009-09-26 10:28:05 -04:00
5b771a7500 Developer documentation improvements. 2009-09-22 21:26:54 -04:00
461f022eb7 Kill the killev program, and the whole tools directory.
The --force-shutdown option now simply runs "pkill evolution".
2009-09-18 11:58:19 -04:00
3f1448b011 Restore the alarm notify daemon.
Convert evolution-alarm-notify to an autostart program, add a .desktop
file for it, and use libunique to ensure only one instance is running.
2009-09-18 11:58:19 -04:00
3f00bdbfcb Bug #590707 - Initialize DBus threading on start 2009-09-10 12:14:13 +02:00
fa9051e040 Finish killing Bonobo. 2009-09-08 14:53:45 -04:00
7ec8fed125 Whitespace cleanup. 2009-09-04 21:21:50 -04:00
983fce5e53 Kill the default parent window hack in e-error.c.
Fix as many cases that relied on it as I could find, but there may be
more cases out there.  They should be fixed too.  Passing a NULL parent
window to e_error_new() is illegal and will emit a runtime warning.
2009-09-04 17:07:15 -04:00
c95a226217 EShell cleanup + rework my previous crasher fix. 2009-09-04 16:15:04 -04:00
369831e140 Fix crash when second main window is closed. 2009-09-04 12:57:40 -04:00
d94208b114 Homing in on a reference counting issue in EShellContent. 2009-09-03 18:54:45 -04:00
5493a2373b Fix a reference counting issue in EShellTaskbar. 2009-09-03 16:34:07 -04:00
643db16894 Get the "save-calendar" plugin working.
Based on initial work by Milan Crha.
2009-09-03 13:27:31 -04:00
40a6ccc269 Fix some mistakes in the EShell documentation. 2009-09-02 22:18:41 -04:00
53268d5516 Introduce an EShellView::execute-search signal.
This addresses bug #593896 but is also a cleaner design than before.
It introduces an EShellView::execute-search signal and renames the
"search-execute" action to "search-quick" to clarify that it's only
meant for the "quick" search bar in the main window.

Shell view subclasses should implement the execute_search() method to
actually execute a search.

e_shell_view_execute_search() emits the new signal.
2009-09-02 15:26:49 -04:00
633b40bea1 Bug #593761 - Wrong dir for calendar local sources
- using _get_data_dir, not _get_config_dir in calendar's and similar
   ensure_sources functions

 - current executable version is stored in gconf, thus not every start is
   migrating done

 - applied changes which were using e_source_list_ensure_group calls

 - e_source_list_sync is called at the end of those ensure_sources, as it
   didn't work to me to see the Personal source after start when I had
   no "On this computer" group (the group was added, but the source wasn't)
2009-09-02 15:16:53 +02:00
8962868ff9 Relax the EBinding API to reduce GObject casting.
Also make it more fault-tolerant by warning about non-existent
property names instead of just crashing.
2009-09-01 21:12:44 -04:00
4dbdbe168d Disable switcher actions when sidebar is hidden. 2009-09-01 20:11:22 -04:00
8f0093b0d8 Start migration -after- loading all modules and plugins. 2009-09-01 16:52:04 -04:00
f945e649d2 Bug 593778 - Clear search enabled when it shouldn't be 2009-09-01 11:07:20 -04:00
f5991437c3 Get EConfig and EEvent hooks working again.
There were a number of problems:

  - Walk the GType tree to find EPluginHook subclasses, instead of
    just registering the immediate children.

  - Some EConfig and EEvent subclasses were not being configured
    properly (particularly the mail and calendar subclasses).

  - Add preference window pages after the main loop starts to make
    sure all plugins and plugin hooks are installed first.
2009-08-31 12:53:52 -04:00
06d9b59770 Fix for few compiler warnings 2009-08-31 11:47:12 +02:00
e002b69b1c Fix widget include paths in public header files. 2009-08-30 13:34:15 -04:00
0f7f4cfe38 Coding style and whitespace cleanup. 2009-08-30 00:48:57 -04:00
32f545cdf0 Simplify EPlugin loading at startup.
- Require all EPlugin and EPluginHook subtypes be registered before
  loading plugins.  This drastically simplifies the EPlugin/EPluginHook
  negotiation.

- Turn most EPluginHook subtypes into GTypeModules and register their
  types from an e_module_load() function (does not include shell hooks).

- Convert EPluginLib and the Mono and Python bindings to GTypeModules
  and register their types from an e_module_load() function, and kill
  EPluginTypeHook.
2009-08-29 17:23:20 -04:00
029b6cde2c Nit pick. 2009-08-27 17:35:21 -04:00
d46710704a Fix resize behavior of main window panes.
Now that I finally understand how the "resize" and "shrink" child
properties in GtkPaned work.  Was a real brain teaser for some reason.
2009-08-26 12:44:32 -04:00