[evolution-patches] [Calendar] Fix for 327344



Hi

worked on Bug 327344 – useless options in calendar preferences

Please review

Thanks
Johnny
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2960
diff -u -p -r1.2960 ChangeLog
--- ChangeLog	25 Jan 2006 10:48:14 -0000	1.2960
+++ ChangeLog	25 Jan 2006 13:43:03 -0000
@@ -1,3 +1,11 @@
+2006-01-25  Johnny Jacob <johnnyjacob gmail com>
+
+	Fixes #327344
+	* gui/dialogs/cal-prefs-dialog.c: (cal_prefs_dialog_create_time_edit):
+	Show date edit component.
+	* gui/main.c: (factory): changed gtk_widget_ahow_all to 
+	gtk_widget_show.
+
 2006-01-25  Chenthill Palanisamy  <pchenthill novell com>
 
 	* gui/alarm-notify/alarm-queue.c: (popup_notification):
Index: gui/dialogs/cal-prefs-dialog.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/cal-prefs-dialog.c,v
retrieving revision 1.50
diff -u -p -r1.50 cal-prefs-dialog.c
--- gui/dialogs/cal-prefs-dialog.c	23 Jan 2006 05:04:31 -0000	1.50
+++ gui/dialogs/cal-prefs-dialog.c	25 Jan 2006 13:43:51 -0000
@@ -611,6 +611,7 @@ cal_prefs_dialog_create_time_edit (void)
 
 	dedit = e_date_edit_new ();
 
+	gtk_widget_show (GTK_WIDGET (dedit));
 	e_date_edit_set_use_24_hour_format (E_DATE_EDIT (dedit), calendar_config_get_24_hour_format ());
 	e_date_edit_set_time_popup_range (E_DATE_EDIT (dedit), 0, 24);
 	e_date_edit_set_show_date (E_DATE_EDIT (dedit), FALSE);
Index: gui/main.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/main.c,v
retrieving revision 1.175
diff -u -p -r1.175 main.c
--- gui/main.c	19 Dec 2005 11:23:09 -0000	1.175
+++ gui/main.c	25 Jan 2006 13:44:04 -0000
@@ -190,7 +190,7 @@ factory (BonoboGenericFactory *factory,
 		EvolutionConfigControl *control;
 
 		prefs = calendar_prefs_dialog_new ();
-		gtk_widget_show_all (prefs);
+		gtk_widget_show (prefs);
 		control = evolution_config_control_new (prefs);
 
 		return BONOBO_OBJECT (control);


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