aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-alert-bar.c
Commit message (Collapse)AuthorAgeFilesLines
* Send errors to an EAlertSink instead of the task bar.Matthew Barnes2010-10-191-2/+0
| | | | | | 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.
* EAlert: Allow arbitrary actions to be added.Matthew Barnes2010-10-191-43/+69
| | | | | | | | | | | | | | You can now amend the predefined actions in an EAlert by calling e_alert_add_action(). Useful for adding actions from an existing GtkUIManager. Call e_alert_peek_actions() to obtain a combined list of predefined and custom actions. These will typically serve as "related" actions for GtkButtons (cf. gtk_activatable_set_related_action()). Also, both EShellWindow and EShellView now implement EAlertSink. Use EShellWindow for application-wide alerts, EShellView for view-specific alerts.
* EAlertBar: Always show the most recent alert.Matthew Barnes2010-10-141-6/+2
| | | | Make it work like a stack instead of a queue.
* Adjust EAlertBar text attributes.Matthew Barnes2010-10-131-2/+7
|
* Composer: Show cancellable operations and errors inline.Matthew Barnes2010-10-131-0/+235
'Send' and 'Save Draft' are now asynchronous and run outside of Evolution's MailMsg infrastructure. Add an EActivityBar to the composer window so these asynchronous operations can be tracked and cancelled even in the absense of a main window. Also add an EAlertBar to the composer window so error messages can be shown directly in the window. Instead of calling e_alert_dialog_run_for_args(), call e_alert_submit() and pass the EMsgComposer as the widget argument. The EMsgComposer will decide whether to show an EAlertDialog or use the EAlertBar, depending on the GtkMessageType of the alert.