[Calendar] Fix for 328515

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

Worked on Bug 328515 – Event / Task editor do not open attachment bar.

Please review

Thanks
Johnny

_______________________________________________
Evolution-patches mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-patches
attachbar-328515.diff (text/x-patch, 1.3 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	31 Jan 2006 10:48:00 -0000
@@ -1,3 +1,8 @@
+2006-01-31  Johnny Jacob  <[email protected]>
+
+	* gui/dialogs/comp-editor.c (attachment_bar_changed_cb):
+	Show/hide attachment bar.
+
 2006-01-31  Tor Lillqvist  <[email protected]>
 
 	* gui/alarm-notify/alarm-queue.c (open_alarm_dialog,
Index: gui/dialogs/comp-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/comp-editor.c,v
retrieving revision 1.162
diff -u -p -r1.162 comp-editor.c
--- gui/dialogs/comp-editor.c	13 Jan 2006 10:31:05 -0000	1.162
+++ gui/dialogs/comp-editor.c	31 Jan 2006 10:48:24 -0000
@@ -956,10 +956,12 @@ attachment_bar_changed_cb (EAttachmentBa
 		g_free (num_text);
 
 		gtk_widget_show (editor->priv->attachment_expander_icon);
+		e_expander_set_expanded (E_EXPANDER (editor->priv->attachment_expander), TRUE);
 		
 	} else {
 		gtk_label_set_text (GTK_LABEL (editor->priv->attachment_expander_num), "");
 		gtk_widget_hide (editor->priv->attachment_expander_icon);
+		e_expander_set_expanded (E_EXPANDER (editor->priv->attachment_expander), FALSE);
 	}
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.