diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/misc/e-calendar.c | 22 |
2 files changed, 5 insertions, 22 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 9caa036471..d17b06669d 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,8 @@ +2003-11-30 ERDI Gergo <cactus@cactus.rulez.org> + + * e-calendar.c: canned the _clicked handlers as those make it + impossible to move just one month at a time + 2003-11-30 Ettore Perazzoli <ettore@ximian.com> * e-util-marshal.list: Add NONE:POINTER. diff --git a/widgets/misc/e-calendar.c b/widgets/misc/e-calendar.c index b2eb17cf2e..9a5f75769f 100644 --- a/widgets/misc/e-calendar.c +++ b/widgets/misc/e-calendar.c @@ -93,10 +93,8 @@ static gboolean e_calendar_focus (GtkWidget *widget, static void e_calendar_on_prev_pressed (ECalendar *cal); static void e_calendar_on_prev_released (ECalendar *cal); -static void e_calendar_on_prev_clicked (ECalendar *cal); static void e_calendar_on_next_pressed (ECalendar *cal); static void e_calendar_on_next_released (ECalendar *cal); -static void e_calendar_on_next_clicked (ECalendar *cal); static void e_calendar_start_auto_move (ECalendar *cal, gboolean moving_forward); @@ -167,9 +165,6 @@ e_calendar_init (ECalendar *cal) gtk_signal_connect_object (GTK_OBJECT (button), "released", G_CALLBACK (e_calendar_on_prev_released), GTK_OBJECT (cal)); - gtk_signal_connect_object (GTK_OBJECT (button), "clicked", - G_CALLBACK (e_calendar_on_prev_clicked), - GTK_OBJECT (cal)); pixmap = gtk_arrow_new (GTK_ARROW_LEFT, GTK_SHADOW_NONE); gtk_widget_show (pixmap); @@ -189,9 +184,6 @@ e_calendar_init (ECalendar *cal) gtk_signal_connect_object (GTK_OBJECT (button), "released", G_CALLBACK (e_calendar_on_next_released), GTK_OBJECT (cal)); - gtk_signal_connect_object (GTK_OBJECT (button), "clicked", - G_CALLBACK (e_calendar_on_next_clicked), - GTK_OBJECT (cal)); pixmap = gtk_arrow_new (GTK_ARROW_RIGHT, GTK_SHADOW_NONE); gtk_widget_show (pixmap); @@ -441,26 +433,12 @@ e_calendar_on_prev_pressed (ECalendar *cal) } static void -e_calendar_on_prev_clicked (ECalendar *cal) -{ - e_calendar_item_set_first_month (cal->calitem, cal->calitem->year, - cal->calitem->month - 1); -} - -static void e_calendar_on_next_pressed (ECalendar *cal) { e_calendar_start_auto_move (cal, TRUE); } static void -e_calendar_on_next_clicked (ECalendar *cal) -{ - e_calendar_item_set_first_month (cal->calitem, cal->calitem->year, - cal->calitem->month + 1); -} - -static void e_calendar_start_auto_move (ECalendar *cal, gboolean moving_forward) { |