aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-error.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename EError to EAlert to match general use betterJonathon Jongsma2009-12-011-66/+0
| | | | | | | | | | 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
* Refactor error reporting to separate error from dialogsJonathon Jongsma2009-12-011-6/+13
| | | | | | | | | | | | | | | | | | | | Previously, Most things reported errors directly. This is evidenced by the fact that e_error_new() returns a GtkDialog*. This patch attempts to de-couple error-reporting from the UI. It introduces a simple stuct (EError) that describes the error which is returned much like a GError by passing it as an output parameter to a function. e_error_new() now returns a newly-allocated EError*, but the function signature has changed to no longer accept a parent GtkWidget, so the API change should be detected at compile time. I kept the convenience dialog functions, but renamed them slightly: - e_error_new() -> e_error_new_dialog() - e_error_run() -> e_error_run_dialog() Build is currently broken because nothing has been ported to use this new API yet. https://bugzilla.gnome.org/show_bug.cgi?id=602963
* Kill the default parent window hack in e-error.c.Matthew Barnes2009-09-051-2/+0
| | | | | | 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.
* Stop abusing forward declarations.Matthew Barnes2009-06-191-7/+5
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-291-4/+4
|
* Remove trailing whitespace, again.Matthew Barnes2009-05-291-1/+1
|
* Change License from GPL to LGPL. 2nd batch.Sankarasivasubramanian Pasupathilingam2008-09-031-13/+14
| | | | | | More changes to come. svn path=/trunk/; revision=36247
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* ** Fixes part of bug #509741Matthew Barnes2008-02-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | 2008-02-08 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #509741 * mail/mail-session.c (user_message_exec): Use the number of dialog buttons as a heuristic for whether to display a message in the status bar or immediately present the dialog to the user. * e-util/e-error.c (e_error_newv): If the error dialog has no primary text, fallback to the window title for the "primary" data key. This is what gets displayed in the status bar. * e-util/e-error.c (e_error_count_buttons): New function counts buttons in a dialog's action area. svn path=/trunk/; revision=34977
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-1/+1
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* Merge back eplugin-import-branch.Michael Zucci2005-07-121-0/+2
| | | | svn path=/trunk/; revision=29725
* added e-error.[ch], removed e-error-tool, and added e-system.error.xmlNot Zed2005-05-161-0/+57
2005-05-16 Not Zed <NotZed@Ximian.com> * Makefile.am: added e-error.[ch], removed e-error-tool, and added e-system.error.xml svn path=/trunk/; revision=29360