aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@helixcode.com>2000-12-23 09:06:22 +0800
committerJP Rosevear <jpr@src.gnome.org>2000-12-23 09:06:22 +0800
commit9b02c881ef67ec81d137f6478d783e2b1f4efbf1 (patch)
treeeba89fd3f758512a0917269d185b1c9a9ee4d027 /calendar/gui/gnome-cal.c
parent7706c0163b753b4f71b367786f0e20ba9bcd0896 (diff)
downloadgsoc2013-evolution-9b02c881ef67ec81d137f6478d783e2b1f4efbf1.tar
gsoc2013-evolution-9b02c881ef67ec81d137f6478d783e2b1f4efbf1.tar.gz
gsoc2013-evolution-9b02c881ef67ec81d137f6478d783e2b1f4efbf1.tar.bz2
gsoc2013-evolution-9b02c881ef67ec81d137f6478d783e2b1f4efbf1.tar.lz
gsoc2013-evolution-9b02c881ef67ec81d137f6478d783e2b1f4efbf1.tar.xz
gsoc2013-evolution-9b02c881ef67ec81d137f6478d783e2b1f4efbf1.tar.zst
gsoc2013-evolution-9b02c881ef67ec81d137f6478d783e2b1f4efbf1.zip
translations
2000-12-22 JP Rosevear <jpr@helixcode.com> * gui/goto-dialog.glade.h: translations * gui/goto-dialog.glade: new glade file for goto dialog * gui/gnome-cal.c (setup_widgets): Set date navigator attributes * gui/calendar-commands.h: remove prototype * gui/goto.h: Add prototype * gui/Makefile.am: Add glade file stuff * gui/gnome-cal.c (setup_widgets): Use accessors to configure the calendar item properly 2000-12-22 JP Rosevear <jpr@helixcode.com> * e-calendar-item.h: add prototypes * e-calendar-item.c (e_calendar_item_init): Set max_days_selected to 1 and days_to_start_week_selection to -1 as documented in header (e_calendar_item_set_arg): use new accessor methods (e_calendar_item_get_arg): ditto (e_calendar_item_get_max_days_sel): accessor (e_calendar_item_set_max_days_sel): ditto (e_calendar_item_get_days_start_week_sel): ditto (e_calendar_item_set_days_start_week_sel): ditto (e_calendar_item_class_init): add display_popup argument (e_calendar_item_init): initialize display_popup member (e_calendar_item_get_arg): get display_popup member (e_calendar_item_set_arg): set display_popup member (e_calendar_item_button_press): only show the popup menu if the member is set (e_calendar_item_get_display_popup): acessor (e_calendar_item_set_display_popup): ditto svn path=/trunk/; revision=7132
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index e3dae90a4d..77dc0a71dc 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -244,7 +244,10 @@ setup_widgets (GnomeCalendar *gcal)
/* The ECalendar. */
w = e_calendar_new ();
priv->date_navigator = E_CALENDAR (w);
+ e_calendar_item_set_days_start_week_sel (priv->date_navigator->calitem, 9);
+ e_calendar_item_set_max_days_sel (priv->date_navigator->calitem, 42);
gtk_widget_show (w);
+
e_paned_pack1 (E_PANED (priv->vpane), w, FALSE, TRUE);
gtk_signal_connect (GTK_OBJECT (priv->date_navigator),
"style_set",