aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-alert-dialog.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix alignment of extra widgets in EAlertDialogs.Matthew Barnes2011-03-251-0/+1
| | | | | | | Add e_alert_dialog_get_content_area(), which returns the GtkVBox containing the primary and secondary labels. Use this instead of gtk_dialog_get_content_area() to maintain the dialog's left margin beneath the image.
* Send errors to an EAlertSink instead of the task bar.Matthew Barnes2010-10-191-1/+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.
* Composer: Show cancellable operations and errors inline.Matthew Barnes2010-10-131-41/+38
| | | | | | | | | | | | | | | '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.
* Coding style and whitespace cleanup.Matthew Barnes2010-08-291-1/+1
|
* Prevent future bugs like #612792.Matthew Barnes2010-03-151-2/+2
| | | | | | Add G_GNUC_NULL_TERMINATED to EAlert functions with variable-length parameter lists and drop the unnecessary "arg0" parameter so the function attribute works correctly.
* Use EAlert API in EAlertActivity rather than using g_object_get_dataJonathon Jongsma2009-12-091-0/+1
| | | | | | | | previously we were storing the EAlert's primary and secondary text in the dialog object (using g_object_set_data_full). Since EAlertDialog encapsulates an EAlert and we have access to the underlying EAlert object, we can just use the EAlert API to get the primary and secondary text rather than storing duplicates copies of it in the dialog.
* Add EAlertDialogJonathon Jongsma2009-12-081-0/+82
This is a proper implementation of the various alert dialog helper functions. It is a proper subclass of GtkDialog, etc.