aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
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
parenta593233693b07d654463073bfd4f83ff57605fbe (diff)
downloadgsoc2013-evolution-5a1cbefa40c7828a86a40ba5c14490d9746d1ca6.tar
gsoc2013-evolution-5a1cbefa40c7828a86a40ba5c14490d9746d1ca6.tar.gz
gsoc2013-evolution-5a1cbefa40c7828a86a40ba5c14490d9746d1ca6.tar.bz2
gsoc2013-evolution-5a1cbefa40c7828a86a40ba5c14490d9746d1ca6.tar.lz
gsoc2013-evolution-5a1cbefa40c7828a86a40ba5c14490d9746d1ca6.tar.xz
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')
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-calendar.c22
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)
{