[evolution-patches] Fix for tasks crash 333697



Hi,
	Please review the attached patch for:
http://bugzilla.gnome.org/show_bug.cgi?id=333697

	Thanks!
		Harry
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.3011
diff -u -p -r1.3011 ChangeLog
--- ChangeLog	6 Mar 2006 15:58:53 -0000	1.3011
+++ ChangeLog	7 Mar 2006 05:40:49 -0000
@@ -1,3 +1,9 @@
+2006-03-07  Harry Lu  <harry lu sun com>
+
+	Fix for 333697
+	* gui/dialogs/task-page.c: (task_page_init), (sensitize_widgets):
+	remove two useless widgets: sendoptions_frame and sendoptions_button.
+
 2006-03-06  Veerapuram Varadhan  <vvaradhan novell com>
 
 	**Fixes #321832
Index: gui/dialogs/task-page.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/task-page.c,v
retrieving revision 1.85
diff -u -p -r1.85 task-page.c
--- gui/dialogs/task-page.c	15 Feb 2006 05:41:30 -0000	1.85
+++ gui/dialogs/task-page.c	7 Mar 2006 05:40:50 -0000
@@ -97,8 +97,6 @@ struct _TaskPagePrivate {
 	GtkWidget *categories;
 
 	GtkWidget *source_selector;
-	GtkWidget *sendoptions_frame;
-	GtkWidget *sendoptions_button;
 
 	/* Meeting related items */
 	GtkWidget *list_box;
@@ -191,8 +189,6 @@ task_page_init (TaskPage *tpage)
 	priv->classification = E_CAL_COMPONENT_CLASS_NONE;
 	priv->categories_btn = NULL;
 	priv->categories = NULL;
-	priv->sendoptions_frame = NULL;
-	priv->sendoptions_button = NULL;
 	priv->sendoptions_shown = FALSE;
 	priv->sod = NULL;
 
@@ -401,7 +397,6 @@ sensitize_widgets (TaskPage *tpage)
 	gtk_widget_set_sensitive (priv->timezone, !read_only);
 	gtk_widget_set_sensitive (priv->description, !read_only);
 	gtk_widget_set_sensitive (priv->categories_btn, !read_only);
-	gtk_widget_set_sensitive (priv->sendoptions_button, !read_only);
 	gtk_entry_set_editable (GTK_ENTRY (priv->categories), !read_only);
 
 	gtk_widget_set_sensitive (priv->organizer, !read_only);


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