[evolution] port widgets/ to use new EError API
- From: Jonathon Jongsma <jjongsma src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution] port widgets/ to use new EError API
- Date: Mon, 30 Nov 2009 19:34:12 +0000 (UTC)
commit fff91b3bc66758f21a4040d7ec198318333e5150
Author: Jonathon Jongsma <jonathon quotidian org>
Date: Tue Nov 24 16:49:36 2009 -0600
port widgets/ to use new EError API
https://bugzilla.gnome.org/show_bug.cgi?id=602963
widgets/misc/e-signature-editor.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/widgets/misc/e-signature-editor.c b/widgets/misc/e-signature-editor.c
index 6992167..b5de504 100644
--- a/widgets/misc/e-signature-editor.c
+++ b/widgets/misc/e-signature-editor.c
@@ -89,7 +89,7 @@ action_close_cb (GtkAction *action,
if (something_changed) {
gint response;
- response = e_error_run (
+ response = e_error_run_dialog_for_args (
GTK_WINDOW (editor),
"mail:ask-signature-changed", NULL);
if (response == GTK_RESPONSE_YES) {
@@ -144,7 +144,7 @@ action_save_and_close_cb (GtkAction *action,
gtkhtml_editor_save (GTKHTML_EDITOR (editor), filename, html, &error);
if (error != NULL) {
- e_error_run (
+ e_error_run_dialog_for_args (
GTK_WINDOW (editor),
"mail:no-save-signature",
error->message, NULL);
@@ -159,7 +159,7 @@ action_save_and_close_cb (GtkAction *action,
/* Make sure the signature name is not blank. */
if (*signature_name == '\0') {
- e_error_run (
+ e_error_run_dialog_for_args (
GTK_WINDOW (editor),
"mail:blank-signature", NULL);
gtk_widget_grab_focus (entry);
@@ -172,7 +172,7 @@ action_save_and_close_cb (GtkAction *action,
same_name = (ESignature *) e_signature_list_find (
signature_list, E_SIGNATURE_FIND_NAME, signature_name);
if (same_name != NULL && !e_signature_is_equal (signature, same_name)) {
- e_error_run (
+ e_error_run_dialog_for_args (
GTK_WINDOW (editor),
"mail:signature-already-exists",
signature_name, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]