[evolution-patches] [Calendar] Fix for 328515



Hi

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

Please review

Thanks
Johnny
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  <johnnyjacob gmail com>
+
+	* gui/dialogs/comp-editor.c (attachment_bar_changed_cb):
+	Show/hide attachment bar.
+
 2006-01-31  Tor Lillqvist  <tml novell com>
 
 	* 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);
 	}
 	
 	


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