diff options
author | JP Rosevear <jpr@helixcode.com> | 2000-12-23 09:06:22 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2000-12-23 09:06:22 +0800 |
commit | 9b02c881ef67ec81d137f6478d783e2b1f4efbf1 (patch) | |
tree | eba89fd3f758512a0917269d185b1c9a9ee4d027 /widgets/misc/e-calendar-item.h | |
parent | 7706c0163b753b4f71b367786f0e20ba9bcd0896 (diff) | |
download | gsoc2013-evolution-9b02c881ef67ec81d137f6478d783e2b1f4efbf1.tar.gz 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 'widgets/misc/e-calendar-item.h')
-rw-r--r-- | widgets/misc/e-calendar-item.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/widgets/misc/e-calendar-item.h b/widgets/misc/e-calendar-item.h index a5a871228a..f638b16573 100644 --- a/widgets/misc/e-calendar-item.h +++ b/widgets/misc/e-calendar-item.h @@ -135,6 +135,9 @@ struct _ECalendarItem move back/forward one month. Used for the week view. */ gboolean round_selection_when_moving; + /* Whether to display the pop-up, TRUE by default */ + gboolean display_popup; + /* * Internal stuff. */ @@ -230,6 +233,34 @@ void e_calendar_item_set_first_month (ECalendarItem *calitem, gint year, gint month); +/* Get the maximum number of days selectable */ +gint e_calendar_item_get_max_days_sel (ECalendarItem *calitem); + +/* Set the maximum number of days selectable */ +void e_calendar_item_set_max_days_sel (ECalendarItem *calitem, + gint days); + +/* Get the maximum number of days selectable */ +gint e_calendar_item_get_days_start_week_sel(ECalendarItem *calitem); + +/* Get the maximum number of days before whole weeks are selected */ +void e_calendar_item_set_days_start_week_sel(ECalendarItem *calitem, + gint days); + +/* Set the maximum number of days before whole weeks are selected */ +gboolean e_calendar_item_get_display_popup (ECalendarItem *calitem); + +/* Get the maximum number of days before whole weeks are selected */ +void e_calendar_item_set_display_popup (ECalendarItem *calitem, + gboolean display); + +/* Set the maximum number of days before whole weeks are selected */ +gint e_calendar_item_get_days_start_week_sel(ECalendarItem *calitem); + +/* Set the maximum number of days selectable */ +void e_calendar_item_set_days_start_week_sel(ECalendarItem *calitem, + gint days); + /* Returns the range of dates actually shown. Months are 0 to 11. This also includes the last days of the previous month and the first days of the following month, which are normally shown in gray. */ |