Skip to content

Commit 834cd72

Browse files
committed
Fixed calendar being centered
1 parent 4dd4852 commit 834cd72

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

datebook_gui.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Id: datebook_gui.c,v 1.249 2011/04/06 12:51:39 rousseau Exp $ */
1+
/* $Id: datebook_gui.c,v 1.250 2012/10/23 01:59:55 judd Exp $ */
22

33
/*******************************************************************************
44
* datebook_gui.c
@@ -4921,10 +4921,10 @@ int datebook_gui(GtkWidget *vbox, GtkWidget *hbox)
49214921
GTK_CALENDAR_SHOW_HEADING |
49224922
GTK_CALENDAR_SHOW_DAY_NAMES |
49234923
GTK_CALENDAR_SHOW_WEEK_NUMBERS | fdow);
4924-
// This way produces a calendar which fills the pane
4925-
//gtk_box_pack_start(GTK_BOX(hbox_temp), main_calendar, FALSE, FALSE, 0);
4924+
// This way produces a small calendar on the left
4925+
gtk_box_pack_start(GTK_BOX(hbox_temp), main_calendar, FALSE, FALSE, 0);
49264926
// This way produces a centered, small calendar
4927-
gtk_box_pack_start(GTK_BOX(hbox_temp), main_calendar, TRUE, FALSE, 0);
4927+
// gtk_box_pack_start(GTK_BOX(hbox_temp), main_calendar, TRUE, FALSE, 0);
49284928

49294929
gtk_signal_connect(GTK_OBJECT(main_calendar),
49304930
"day_selected", GTK_SIGNAL_FUNC(cb_cal_changed),

0 commit comments

Comments
 (0)