Fix for tasks crash 333697

Harry Lu <[email protected]>
Newsgroups gmane.comp.gnome.evolution.patches
Message-ID <1141710590.15484.20.camel@silvermedal>
Hi,
	Please review the attached patch for:
http://bugzilla.gnome.org/show_bug.cgi?id=333697

	Thanks!
		Harry

_______________________________________________
Evolution-patches mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-patches
tasks333697.diff (text/x-patch, 1.8 KB)
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  <[email protected]>
+
+	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  <[email protected]>
 
 	**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);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.