[Calendar] Fix for 326997

Johnny Jacob <[email protected]>
Newsgroups gmane.comp.gnome.evolution.patches
Message-ID <[email protected]>
Hi

Patch for Bug 326997 – Description in a read-only Appointment not selectable

Please review

Thanks
Johnny

_______________________________________________
Evolution-patches mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-patches
desc-editable-326997.diff (text/x-patch, 1.4 KB)
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2973
diff -u -p -r1.2973 ChangeLog
--- ChangeLog	31 Jan 2006 09:12:12 -0000	1.2973
+++ ChangeLog	1 Feb 2006 08:02:46 -0000
@@ -1,3 +1,9 @@
+2006-02-01  Johnny Jacob  <[email protected]>
+
+	Fixes #326997
+	* gui/dialogs/event-page.c (sensitize_widgets):
+	set/unset the editability of description.
+
 2006-01-31  Tor Lillqvist  <[email protected]>
 
 	* gui/alarm-notify/alarm-queue.c (open_alarm_dialog,
Index: gui/dialogs/event-page.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/event-page.c,v
retrieving revision 1.103
diff -u -p -r1.103 event-page.c
--- gui/dialogs/event-page.c	30 Jan 2006 09:49:35 -0000	1.103
+++ gui/dialogs/event-page.c	1 Feb 2006 08:03:07 -0000
@@ -815,7 +815,7 @@ sensitize_widgets (EventPage *epage)
 	gtk_widget_set_sensitive (priv->start_timezone, sensitize);
 	gtk_widget_set_sensitive (priv->end_time, sensitize);
 	gtk_widget_set_sensitive (priv->end_timezone, sensitize);
-	gtk_widget_set_sensitive (priv->description, sensitize);
+	gtk_text_view_set_editable (GTK_TEXT_VIEW (priv->description), sensitize);
 	gtk_widget_set_sensitive (priv->alarm_time, !read_only);
 	gtk_widget_set_sensitive (priv->categories_btn, sensitize);
 	/*TODO implement the for portion of the end time selector */
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.