diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-09-30 09:11:44 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-09-30 09:11:44 +0800 |
commit | 0e4c54eddced72c9639001849148fe1813c5dc4e (patch) | |
tree | 3ba53e853901d3b7e733b6aed145c5eb54e6a2fc /doc/reference/shell/tmpl/e-alert.sgml | |
parent | d3b09614221d075452496a5198a3910d07eb2818 (diff) | |
download | gsoc2013-evolution-0e4c54eddced72c9639001849148fe1813c5dc4e.tar.gz gsoc2013-evolution-0e4c54eddced72c9639001849148fe1813c5dc4e.tar.zst gsoc2013-evolution-0e4c54eddced72c9639001849148fe1813c5dc4e.zip |
Messin around with EAlerts.
Trying out a new interface called EAlertSink. The idea is to centralize
how errors are shown to the user. A GtkWindow subclass would implement
the EAlertSink interface, which consists of a single method:
void (*submit_alert) (EAlertSink *alert_sink, EAlert *alert);
The subclass has complete control over what to do with the EAlert,
although I imagine we'll wind up implementing various alert-handling
policies as standalone widgets such as EAlertDialog. I'd like to try
an EAlertInfoBar.
Code that would otherwise display an error dialog itself would instead
pass the EAlert to an appropriate EAlertSink and be done with it.
Nothing is final yet. Still hacking on EAlert trying to find an API
that feels right for these use cases.
Diffstat (limited to 'doc/reference/shell/tmpl/e-alert.sgml')
-rw-r--r-- | doc/reference/shell/tmpl/e-alert.sgml | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/doc/reference/shell/tmpl/e-alert.sgml b/doc/reference/shell/tmpl/e-alert.sgml index 3666408f7b..46df813c66 100644 --- a/doc/reference/shell/tmpl/e-alert.sgml +++ b/doc/reference/shell/tmpl/e-alert.sgml @@ -20,48 +20,6 @@ User Alert Handling <!-- ##### SECTION Image ##### --> -<!-- ##### MACRO E_ALERT_INFO ##### --> -<para> - -</para> - - - -<!-- ##### MACRO E_ALERT_INFO_PRIMARY ##### --> -<para> - -</para> - - - -<!-- ##### MACRO E_ALERT_WARNING ##### --> -<para> - -</para> - - - -<!-- ##### MACRO E_ALERT_WARNING_PRIMARY ##### --> -<para> - -</para> - - - -<!-- ##### MACRO E_ALERT_ERROR ##### --> -<para> - -</para> - - - -<!-- ##### MACRO E_ALERT_ERROR_PRIMARY ##### --> -<para> - -</para> - - - <!-- ##### MACRO E_ALERT_ASK_FILE_EXISTS_OVERWRITE ##### --> <para> |