aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-calendar.c
diff options
context:
space:
mode:
authorERDI Gergo <cactus@cactus.rulez.org>2003-12-01 20:14:27 +0800
committerÉRDI Gergo <cactus@src.gnome.org>2003-12-01 20:14:27 +0800
commit5a1cbefa40c7828a86a40ba5c14490d9746d1ca6 (patch)
tree00b8359fc753da821b78519187ffa9a177a8eb47 /widgets/misc/e-calendar.c
parenta593233693b07d654463073bfd4f83ff57605fbe (diff)
downloadgsoc2013-evolution-5a1cbefa40c7828a86a40ba5c14490d9746d1ca6.tar.gz
gsoc2013-evolution-5a1cbefa40c7828a86a40ba5c14490d9746d1ca6.tar.zst
gsoc2013-evolution-5a1cbefa40c7828a86a40ba5c14490d9746d1ca6.zip
canned the _clicked handlers as those make it impossible to move just one
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 svn path=/trunk/; revision=23517
Diffstat (limited to 'widgets/misc/e-calendar.c')
-rw-r--r--widgets/misc/e-calendar.c22
1 files changed, 0 insertions, 22 deletions
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)
{