aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gncal-full-day.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-04-15 11:13:44 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-15 11:13:44 +0800
commit32c476890163a5489b655b56a26c79f451135a2c (patch)
tree6385726859f9496fadebf18f74fe0db7df86f0dd /calendar/gui/gncal-full-day.c
parent0e5cfe78a5161e1c98e69f4670552e0d381b3d30 (diff)
downloadgsoc2013-evolution-32c476890163a5489b655b56a26c79f451135a2c.tar
gsoc2013-evolution-32c476890163a5489b655b56a26c79f451135a2c.tar.gz
gsoc2013-evolution-32c476890163a5489b655b56a26c79f451135a2c.tar.bz2
gsoc2013-evolution-32c476890163a5489b655b56a26c79f451135a2c.tar.lz
gsoc2013-evolution-32c476890163a5489b655b56a26c79f451135a2c.tar.xz
gsoc2013-evolution-32c476890163a5489b655b56a26c79f451135a2c.tar.zst
gsoc2013-evolution-32c476890163a5489b655b56a26c79f451135a2c.zip
Argh
svn path=/trunk/; revision=135
Diffstat (limited to 'calendar/gui/gncal-full-day.c')
-rw-r--r--calendar/gui/gncal-full-day.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/calendar/gui/gncal-full-day.c b/calendar/gui/gncal-full-day.c
index 8c3bf31db2..a9c157c172 100644
--- a/calendar/gui/gncal-full-day.c
+++ b/calendar/gui/gncal-full-day.c
@@ -1212,6 +1212,16 @@ get_row_from_y (GncalFullDay *fullday, int y, int round)
return y;
}
+static void
+button_1 (GncalFullDay *fullday, GdkEventButton *event)
+{
+}
+
+static void
+button_3 (GncalFullDay *fullday, GdkEventButton *event)
+{
+}
+
static gint
gncal_full_day_button_press (GtkWidget *widget, GdkEventButton *event)
{
@@ -1230,6 +1240,19 @@ gncal_full_day_button_press (GtkWidget *widget, GdkEventButton *event)
fullday = GNCAL_FULL_DAY (widget);
+ switch (event->button) {
+ case 1:
+ button_1 (fullday, event);
+ break;
+
+ case 3:
+ button_3 (fullday, event);
+ break;
+
+ default:
+ break;
+ }
+
if (event->window == widget->window) {
/* Clicked on main window */