evolution r36434 - in trunk: addressbook addressbook/gui/component addressbook/gui/contact-list-editor addressbook/gui/widgets calendar calendar/gui calendar/gui/alarm-notify composer mail plugins/exchange-operations



Author: mcrha
Date: Tue Sep 23 11:42:18 2008
New Revision: 36434
URL: http://svn.gnome.org/viewvc/evolution?rev=36434&view=rev

Log:
2008-09-23  Milan Crha  <mcrha redhat com>

	** Fix for bug #553273

	* addressbook/gui/component/addressbook-view.c: (delete_addressbook_folder), (delete_addressbook_cb):
	* addressbook/gui/widgets/eab-gui-util.c: (save_it):
	* addressbook/gui/contact-list-editor/e-contact-list-model.c: (e_contact_list_model_add_email):
	* addressbook/gui/contact-list-editor/e-contact-list-editor.c: (contact_list_editor_contact_exists):
	* plugins/exchange-operations/exchange-config-listener.c: (exchange_config_listener_authenticate):
	* mail/em-composer-utils.c: (em_utils_handle_receipt):
	* mail/em-folder-view.c: (emfv_delete_msg_response):
	* composer/e-composer-actions.c: (action_save_cb):
	* calendar/gui/alarm-notify/alarm-queue.c: (edit_component):
	* calendar/gui/tasks-component.c: (delete_task_list_cb):
	* calendar/gui/calendar-component.c: (delete_calendar_cb):
	* calendar/gui/memos-component.c: (delete_memo_list_cb):
	Always end e_error_run/e_error_new calls with NULL parameter.



Modified:
   trunk/addressbook/ChangeLog
   trunk/addressbook/gui/component/addressbook-view.c
   trunk/addressbook/gui/contact-list-editor/e-contact-list-editor.c
   trunk/addressbook/gui/contact-list-editor/e-contact-list-model.c
   trunk/addressbook/gui/widgets/eab-gui-util.c
   trunk/calendar/ChangeLog
   trunk/calendar/gui/alarm-notify/alarm-queue.c
   trunk/calendar/gui/calendar-component.c
   trunk/calendar/gui/memos-component.c
   trunk/calendar/gui/tasks-component.c
   trunk/composer/ChangeLog
   trunk/composer/e-composer-actions.c
   trunk/mail/ChangeLog
   trunk/mail/em-composer-utils.c
   trunk/mail/em-folder-view.c
   trunk/plugins/exchange-operations/ChangeLog
   trunk/plugins/exchange-operations/exchange-config-listener.c

Modified: trunk/addressbook/gui/component/addressbook-view.c
==============================================================================
--- trunk/addressbook/gui/component/addressbook-view.c	(original)
+++ trunk/addressbook/gui/component/addressbook-view.c	Tue Sep 23 11:42:18 2008
@@ -331,7 +331,7 @@
 	toplevel = (GtkWindow *) gtk_widget_get_toplevel (priv->notebook);
 
 	if (e_error_run (toplevel, "addressbook:ask-delete-addressbook",
-			e_source_peek_name(selected_source)) != GTK_RESPONSE_YES)
+			e_source_peek_name(selected_source), NULL) != GTK_RESPONSE_YES)
 	return;
 
 	/* Remove local data */
@@ -885,7 +885,7 @@
 
 	toplevel = (GtkWindow *)gtk_widget_get_toplevel(ep->target->widget);
 
-	if (e_error_run(toplevel, "addressbook:ask-delete-addressbook", e_source_peek_name(selected_source)) != GTK_RESPONSE_YES)
+	if (e_error_run (toplevel, "addressbook:ask-delete-addressbook", e_source_peek_name(selected_source), NULL) != GTK_RESPONSE_YES)
 		return;
 
 	/* Remove local data */

Modified: trunk/addressbook/gui/contact-list-editor/e-contact-list-editor.c
==============================================================================
--- trunk/addressbook/gui/contact-list-editor/e-contact-list-editor.c	(original)
+++ trunk/addressbook/gui/contact-list-editor/e-contact-list-editor.c	Tue Sep 23 11:42:18 2008
@@ -261,7 +261,7 @@
 	if (!e_contact_list_model_has_email (model, email))
 		return FALSE;
 
-	return (e_error_run (NULL, tag, email) != GTK_RESPONSE_YES);
+	return (e_error_run (NULL, tag, email, NULL) != GTK_RESPONSE_YES);
 }
 
 static void

Modified: trunk/addressbook/gui/contact-list-editor/e-contact-list-model.c
==============================================================================
--- trunk/addressbook/gui/contact-list-editor/e-contact-list-model.c	(original)
+++ trunk/addressbook/gui/contact-list-editor/e-contact-list-model.c	Tue Sep 23 11:42:18 2008
@@ -152,7 +152,7 @@
 	g_return_if_fail (email != NULL);
 
 	if (e_contact_list_model_has_email (model, email))
-		if (e_error_run (NULL, tag, email) != GTK_RESPONSE_YES)
+		if (e_error_run (NULL, tag, email, NULL) != GTK_RESPONSE_YES)
 			return;
 
 	destination = e_destination_new ();

Modified: trunk/addressbook/gui/widgets/eab-gui-util.c
==============================================================================
--- trunk/addressbook/gui/widgets/eab-gui-util.c	(original)
+++ trunk/addressbook/gui/widgets/eab-gui-util.c	Tue Sep 23 11:42:18 2008
@@ -404,7 +404,7 @@
 		 * {0}, {1} and {2}, respectively in the error message formed
 		 */
 		e_error_run (GTK_WINDOW (info->filesel), "addressbook:save-error",
-					 err_str_ext, filename, g_strerror (errno));
+					 err_str_ext, filename, g_strerror (errno), NULL);
 		gtk_widget_destroy(GTK_WIDGET(info->filesel));
 		return;
 	}

Modified: trunk/calendar/gui/alarm-notify/alarm-queue.c
==============================================================================
--- trunk/calendar/gui/alarm-notify/alarm-queue.c	(original)
+++ trunk/calendar/gui/alarm-notify/alarm-queue.c	Tue Sep 23 11:42:18 2008
@@ -930,7 +930,7 @@
 						      0, NULL, &ev);
 
 	if (BONOBO_EX (&ev)) {
-		e_error_run (NULL, "editor-error", bonobo_exception_get_text (&ev));
+		e_error_run (NULL, "editor-error", bonobo_exception_get_text (&ev), NULL);
 		CORBA_exception_free (&ev);
 		return;
 	}
@@ -947,7 +947,7 @@
 	GNOME_Evolution_Calendar_CompEditorFactory_editExisting (factory, uri, (char *) uid, corba_type, &ev);
 
 	if (BONOBO_EX (&ev))
-		e_error_run (NULL, "editor-error", bonobo_exception_get_text (&ev));
+		e_error_run (NULL, "editor-error", bonobo_exception_get_text (&ev), NULL);
 
 	CORBA_exception_free (&ev);
 

Modified: trunk/calendar/gui/calendar-component.c
==============================================================================
--- trunk/calendar/gui/calendar-component.c	(original)
+++ trunk/calendar/gui/calendar-component.c	Tue Sep 23 11:42:18 2008
@@ -568,7 +568,7 @@
 		return;
 
 	if (e_error_run((GtkWindow *)gtk_widget_get_toplevel(ep->target->widget),
-			"calendar:prompt-delete-calendar", e_source_peek_name(selected_source)) != GTK_RESPONSE_YES)
+			"calendar:prompt-delete-calendar", e_source_peek_name(selected_source), NULL) != GTK_RESPONSE_YES)
 		return;
 
 	/* first, ask the backend to remove the calendar */

Modified: trunk/calendar/gui/memos-component.c
==============================================================================
--- trunk/calendar/gui/memos-component.c	(original)
+++ trunk/calendar/gui/memos-component.c	Tue Sep 23 11:42:18 2008
@@ -415,7 +415,7 @@
 		return;
 
 	if (e_error_run((GtkWindow *)gtk_widget_get_toplevel(ep->target->widget),
-			"calendar:prompt-delete-memo-list", e_source_peek_name(selected_source)) != GTK_RESPONSE_YES)
+			"calendar:prompt-delete-memo-list", e_source_peek_name(selected_source), NULL) != GTK_RESPONSE_YES)
 		return;
 
 	/* first, ask the backend to remove the memo list */

Modified: trunk/calendar/gui/tasks-component.c
==============================================================================
--- trunk/calendar/gui/tasks-component.c	(original)
+++ trunk/calendar/gui/tasks-component.c	Tue Sep 23 11:42:18 2008
@@ -406,7 +406,7 @@
 		return;
 
 	if (e_error_run((GtkWindow *)gtk_widget_get_toplevel(ep->target->widget),
-			"calendar:prompt-delete-task-list", e_source_peek_name(selected_source)) != GTK_RESPONSE_YES)
+			"calendar:prompt-delete-task-list", e_source_peek_name(selected_source), NULL) != GTK_RESPONSE_YES)
 		return;
 
 	/* first, ask the backend to remove the task list */

Modified: trunk/composer/e-composer-actions.c
==============================================================================
--- trunk/composer/e-composer-actions.c	(original)
+++ trunk/composer/e-composer-actions.c	Tue Sep 23 11:42:18 2008
@@ -246,7 +246,7 @@
 			e_error_run (
 				GTK_WINDOW (composer),
 				E_ERROR_NO_SAVE_FILE, filename,
-				g_strerror (errno_saved));
+				g_strerror (errno_saved), NULL);
 			return;
 		}
 	} else
@@ -256,7 +256,7 @@
 		e_error_run (
 			GTK_WINDOW (composer),
 			E_ERROR_NO_SAVE_FILE,
-			filename, error->message);
+			filename, error->message, NULL);
 		g_error_free (error);
 		return;
 	}

Modified: trunk/mail/em-composer-utils.c
==============================================================================
--- trunk/mail/em-composer-utils.c	(original)
+++ trunk/mail/em-composer-utils.c	Tue Sep 23 11:42:18 2008
@@ -1419,7 +1419,7 @@
 	}
 
 	if (account && (account->receipt_policy == E_ACCOUNT_RECEIPT_ALWAYS || account->receipt_policy == E_ACCOUNT_RECEIPT_ASK)
-	    && e_error_run (NULL, "mail:ask-receipt", addr, camel_mime_message_get_subject(msg)) == GTK_RESPONSE_YES)
+	    && e_error_run (NULL, "mail:ask-receipt", addr, camel_mime_message_get_subject(msg), NULL) == GTK_RESPONSE_YES)
 		em_utils_send_receipt(folder, msg);
 }
 

Modified: trunk/mail/em-folder-view.c
==============================================================================
--- trunk/mail/em-folder-view.c	(original)
+++ trunk/mail/em-folder-view.c	Tue Sep 23 11:42:18 2008
@@ -1091,7 +1091,7 @@
 							_("You do not have sufficient permissions to delete this mail."));
 					gtk_html_stream_close(hstream, GTK_HTML_STREAM_OK);
 				} else {
-					GtkWidget *w = e_error_new (NULL, "mail:no-delete-permission", "", "");
+					GtkWidget *w = e_error_new (NULL, "mail:no-delete-permission", "", NULL);
 					em_utils_show_error_silent (w);
 				}
 

Modified: trunk/plugins/exchange-operations/exchange-config-listener.c
==============================================================================
--- trunk/plugins/exchange-operations/exchange-config-listener.c	(original)
+++ trunk/plugins/exchange-operations/exchange-config-listener.c	Tue Sep 23 11:42:18 2008
@@ -776,7 +776,7 @@
 		}
 
 		if (current_quota_usage) {
-			widget = e_error_new (NULL, error_code, current_quota_usage);
+			widget = e_error_new (NULL, error_code, current_quota_usage, NULL);
 			g_signal_connect ((GtkDialog *)widget, "response",
 					  G_CALLBACK (gtk_widget_destroy), widget);
 			gtk_widget_show (widget);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]