aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-calendar-item.h
diff options
context:
space:
mode:
authorBolian Yin <bolian.yin@sun.com>2003-09-22 11:19:00 +0800
committerBolian Yin <byin@src.gnome.org>2003-09-22 11:19:00 +0800
commit88d4fd5eac6bf7bcfd845f548efabc9801199cd2 (patch)
tree315ccd29c815a961e66ac9db129f960d10339d1b /widgets/misc/e-calendar-item.h
parent939c8a4b8284418ad379cdbd990353b9941b551a (diff)
downloadgsoc2013-evolution-88d4fd5eac6bf7bcfd845f548efabc9801199cd2.tar
gsoc2013-evolution-88d4fd5eac6bf7bcfd845f548efabc9801199cd2.tar.gz
gsoc2013-evolution-88d4fd5eac6bf7bcfd845f548efabc9801199cd2.tar.bz2
gsoc2013-evolution-88d4fd5eac6bf7bcfd845f548efabc9801199cd2.tar.lz
gsoc2013-evolution-88d4fd5eac6bf7bcfd845f548efabc9801199cd2.tar.xz
gsoc2013-evolution-88d4fd5eac6bf7bcfd845f548efabc9801199cd2.tar.zst
gsoc2013-evolution-88d4fd5eac6bf7bcfd845f548efabc9801199cd2.zip
Fixes #1245. ECalendar should be usable with the keyboard
2003-09-19 Bolian Yin <bolian.yin@sun.com> Fixes #1245. ECalendar should be usable with the keyboard *misc/e-calendar-item.c (e_calendar_item_focus): new func, focus handler. (e_calendar_item_key_press_event): new func, key press event handler (e_calendar_item_selection_add_days, e_calendar_item_stop_selecting): helpers. (e_calendar_item_ensure_days_visible, e_calendar_item_set_selection_if_emission): add the flag to control if we should emit e-calendar signals. (e_calendar_item_class_init): register focus handler. (e_calendar_item_event): add code for GDK_FOCUS_CHANGE and GDK_KEY_PRESS. *misc/e-calendar.c (e_calendar_focus): new func, focus handler (e_calendar_button_has_focus): new func, if prev/next button has focus. (e_calendar_on_next_clicked, e_calendar_on_prev_clicked): click signal handler for prev/next buttons. (e_calendar_set_focusable): set if the e-calendar is focusable *misc/e-dateedit.c (e_date_edit_show_date_popup, hide_date_popup): grab/ungrab gdk keyboard. svn path=/trunk/; revision=22632
Diffstat (limited to 'widgets/misc/e-calendar-item.h')
-rw-r--r--widgets/misc/e-calendar-item.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/misc/e-calendar-item.h b/widgets/misc/e-calendar-item.h
index a6fe161e5d..218095f741 100644
--- a/widgets/misc/e-calendar-item.h
+++ b/widgets/misc/e-calendar-item.h
@@ -45,6 +45,7 @@ typedef enum
{
E_CALENDAR_ITEM_COLOR_TODAY_BOX,
E_CALENDAR_ITEM_COLOR_SELECTION_FG,
+ E_CALENDAR_ITEM_COLOR_SELECTION_BG_FOCUSED,
E_CALENDAR_ITEM_COLOR_SELECTION_BG,
E_CALENDAR_ITEM_COLOR_PREV_OR_NEXT_MONTH_FG,
@@ -174,6 +175,7 @@ struct _ECalendarItem
top-left calendar month view. Note that -1 is used for the last days
from the previous month. The days are real month days. */
gboolean selecting;
+ GDate *selecting_axis;
gboolean selection_dragging_end;
gboolean selection_from_full_week;
gboolean selection_set;