Commit Graph

259 Commits

Author SHA1 Message Date
Matthew Barnes c881b5bc5e Simplify EActivity.
With unintrusive error dialogs gone, we can cut some unnecessary bits
out of EActivity.

I'm also adding a new enum property called "state", which is one of:

    E_ACTIVITY_RUNNING
    E_ACTIVITY_WAITING
    E_ACTIVITY_CANCELLED
    E_ACTIVITY_COMPLETED

The state of an activity must be explicitly changed.  In particular,
when the user cancels an activity the state should be set only after
confirming the operation has been cancelled and not when cancellation
is requested (e.g. after receiving a G_IO_ERROR_CANCELLED, not when
the GCancellable emits "cancelled").  EActivityBar and EActivityProxy
widgets have been updated to make this distinction clearer in the UI.

E_ACTIVITY_WAITING will be used when activities have to be queued and
dispatched in sequence, which I haven't written yet.
2010-10-22 14:21:22 -04:00
Matthew Barnes ec170e47fd Move more account utilities to e-account-utils.c. 2010-10-18 12:32:38 -04:00
Matthew Barnes 35e55a8d6e Send errors to an EAlertSink instead of the task bar.
This marks the end of unintrusive error dialogs, which were too
unintrusive.  We now show errors directly in the main window using
the EAlert / EAlertSink framework.
2010-10-18 12:32:37 -04:00
Matthew Barnes a06e4484b8 Give MailSession a permanent home.
Global variables in shared libraries are a bad idea.  EMailBackend now
owns the MailSession instance, which is actually now EMailSession.

Move the blocking utility functions in mail-tools.c to e-mail-session.c
and add asynchronous variants.  Same approach as Camel.

Replace EMailReader.get_shell_backend() with EMailReader.get_backend(),
which returns an EMailBackend.  Easier access to the EMailSession.
2010-10-12 13:58:59 -04:00
Milan Crha 1c6f2d154e Bug #631320 - GtkObject is gone in GTK3 2010-10-06 19:26:08 +02:00
Matthew Barnes 9675f18d91 Coding style and whitespace cleanup. 2010-10-03 13:29:20 -04:00
Matthew Barnes 31b57ed038 Adapt to Camel API changes. 2010-09-28 11:35:55 -04:00
Matthew Barnes a91eeb6471 Pass GCancellable to Camel. 2010-09-28 11:35:55 -04:00
Vibha Yadav 797cd19606 Bug #611154 - problem in accessing folder property 2010-09-16 09:51:38 +05:30
Bharath Acharya 70127d9cb8 Bug #624321 - Reply requested today does not work.
Do not check for the "reply_within" if it is not the "convenient" option.
0 can be an option too.
2010-09-14 10:04:30 +05:30
Matthew Barnes cd53ba9900 Coding style cleanups. 2010-09-13 08:28:58 -04:00
Milan Crha d74e3a57dd Bug #627812 - GW shouldn't use global folder tree.
Groupwise shouldn't use global folder tree for UI.
2010-09-13 10:17:32 +05:30
Matthew Barnes ebcce86769 Coding style and whitespace cleanups. 2010-09-11 14:14:04 -04:00
Matthew Barnes ecf3434da0 GObject boilerplate cleanup.
Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over
manual GType registration.

This is just a start... lots more to do.
2010-08-24 14:37:02 -04:00
Rob Bradford b6b72b0c4a addressbook/gui, plugins/groupwise, widgets/misc: Update to new icon theme
Since gnome-icon-theme 2.30.x the icon name for the default avatar has changed
from stock_person to avatar-default

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=616822
2010-08-02 10:58:43 +01:00
Kjartan Maraas 13cf1d104b Bug 624534 - Adapt to GTK+ GtkNotebookPage changes 2010-07-25 21:49:18 -04:00
Matthew Barnes eb29179da6 Coding style and whitespace cleanup. 2010-07-11 22:25:06 -04:00
Matthew Barnes 137b0743dd Migrate from CamelException to GError. 2010-07-08 14:37:52 -04:00
Michael Meeks 36f1f29b9a Fix transience problems with ENameSelectorDialogs ... 2010-07-08 16:10:59 +01:00
Matthew Barnes 970662db34 More GTK3 preparation.
This uses the new gtk_assistant_commit() I had added to GTK+ for our
EImportAssistant progress page.
2010-06-04 08:34:15 -04:00
Vibha Yadav 22b33668db Bug #531013 - Proxy login window is not in focus.
Grab focus for the Proxy Login window.
2010-05-21 11:10:33 +05:30
Milan Crha 5a124a6add Bug #607257 - Add checks for event->comp_data != NULL 2010-05-13 23:49:58 +02:00
Matthew Barnes aec33928b7 Adapt to Camel API changes. 2010-04-30 11:30:19 -04:00
Matthew Barnes bc90469e7f Camel is now GObject-based. 2010-04-24 11:05:27 -04:00
Milan Crha 91020b05a3 Bug #360461 - Avoid markup in translatable messages 2010-04-23 11:20:50 +02:00
Matthew Barnes 51e5ae5524 Adapt to Camel API changes. 2010-04-12 15:55:53 -04:00
Matthew Barnes 72797decc1 Giant leap towards GSEAL compliance. 2010-04-08 11:05:26 -04:00
Matthew Barnes a8feedf390 Adapt to Camel API changes. 2010-04-03 23:06:39 -04:00
Matthew Barnes 26240e0b18 Generate ChangeLog files for tarball releases.
Remove old ChangeLog files that predate our switch to git.
2010-04-02 18:18:33 -04:00
Matthew Barnes fabb6b035c Only #include Camel's top-level header. 2010-04-02 16:59:20 -04:00
Milan Crha fdd0b87471 Bug #347330 - Mark forgotten strings for translation 2010-04-02 13:23:48 +02:00
Milan Crha 73c0142532 camel/camel-i18n.h gone, adapt to it properly 2010-04-01 12:46:19 +02:00
Matthew Barnes fa2da5acd6 Fix mismatched quotes. 2010-03-28 18:55:22 -04:00
Bharath Acharya baa7f20333 Bug #610327 - Proxy login doesn't show folder list 2010-03-05 16:12:10 +05:30
Matthew Barnes 49ef32b76c Coding style and whitespace cleanup. 2010-02-07 13:26:37 -05:00
Matthew Barnes ec73f5522f Coding style and whitespace cleanup. 2010-01-30 18:09:19 -05:00
Matthew Barnes cae22334fa Remove dead assignments found by clang. 2010-01-15 21:50:05 -05:00
Matthew Barnes 79741ccd3f Bug 606250 - Remove usage of deprecated GTK+ symbols
Several GtkWidget macros were recently deprecated.
2010-01-07 14:45:43 -05:00
Matthew Barnes 59bd81691d Compiler and linker flag cleanups. 2009-12-27 14:32:39 -05:00
Jonathon Jongsma 31204c9cc2 Port all error code to use GObject-ified EAlert / EAlertDialog
The changes are mainly including the e-alert-header.h header instead of just
e-alert.h.  This allows us to include e-alert.h in non-UI situations when
necessary.
2009-12-07 12:25:23 -06:00
Matthew Barnes 5e938b590f Expand the EMailReader interface so it's easier to use.
Adds the following methods:

  CamelFolder *   (*get_folder)          (EMailReader *reader);
  const gchar *   (*get_folder_uri)      (EMailReader *reader);
  GPtrArray *     (*get_selected_uids)   (EMailReader *reader);
2009-12-01 15:01:14 -05:00
Matthew Barnes 76fbb9d232 Kill message_list_free_uids().
Use em_utils_uids_free() instead.
2009-12-01 15:01:14 -05:00
Matthew Barnes d94534c367 Merge bits and pieces of the anjal-evo-2-30 branch. 2009-11-30 18:34:38 -05:00
Jonathon Jongsma c2ee0afbc8 Rename EError to EAlert to match general use better
The EError mechanism is used both for error dialogs as well as basic alerts or
user prompts, so we should give it a more general name which matches this use.

This patch also cleans up a few includes of e-alert.h (formerly e-error.h) that
were not actually being used.

https://bugzilla.gnome.org/show_bug.cgi?id=602963
2009-11-30 13:33:04 -06:00
Jonathon Jongsma 68d3608b81 port plugins to use new EError API
https://bugzilla.gnome.org/show_bug.cgi?id=602963
2009-11-30 13:32:22 -06:00
Milan Crha 327c54dbbc Bug #601517 - Accept/decline options are missing on event right click 2009-11-18 12:19:42 +01:00
Claude Paroz 4eb800f5fa Remove markup from translatable strings in ui files
GTKBuilder format allows to separate markup from translatable content.
Whenever possible, this should be preferred so as there is less content to
translate and less error opportunities.
2009-11-17 16:47:49 +01:00
Claude Paroz f06fda60d9 Bug 360461 - Do not hardcode invisible_char in ui files 2009-11-17 14:40:08 +01:00
Matthew Barnes 054c088169 Bug 589153 - Use GtkBuilder instead of libglade 2009-11-16 19:33:32 -05:00
Jonathon Jongsma 214f3a8038 Bug 600926 - Fails to build due to missing dependencies 2009-11-09 19:11:03 -05:00