aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorDamon Chaplin <damon@helixcode.com>2000-05-06 18:58:37 +0800
committerDamon Chaplin <damon@src.gnome.org>2000-05-06 18:58:37 +0800
commitfc213a4931c274c8f269b21f168c12e728e45bf7 (patch)
tree6446b70dfe1d67d4b019955a0e04face2128748b /calendar/gui
parentc827b0e2b1199d1808fef231e2f79af75dac1234 (diff)
downloadgsoc2013-evolution-fc213a4931c274c8f269b21f168c12e728e45bf7.tar
gsoc2013-evolution-fc213a4931c274c8f269b21f168c12e728e45bf7.tar.gz
gsoc2013-evolution-fc213a4931c274c8f269b21f168c12e728e45bf7.tar.bz2
gsoc2013-evolution-fc213a4931c274c8f269b21f168c12e728e45bf7.tar.lz
gsoc2013-evolution-fc213a4931c274c8f269b21f168c12e728e45bf7.tar.xz
gsoc2013-evolution-fc213a4931c274c8f269b21f168c12e728e45bf7.tar.zst
gsoc2013-evolution-fc213a4931c274c8f269b21f168c12e728e45bf7.zip
removed.
2000-05-06 Damon Chaplin <damon@helixcode.com> * gui/week-view.[hc]: removed. svn path=/trunk/; revision=2826
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/week-view.c100
-rw-r--r--calendar/gui/week-view.h63
2 files changed, 0 insertions, 163 deletions
diff --git a/calendar/gui/week-view.c b/calendar/gui/week-view.c
deleted file mode 100644
index 89e489a92d..0000000000
--- a/calendar/gui/week-view.c
+++ /dev/null
@@ -1,100 +0,0 @@
-/* Week view display for gncal
- *
- * Copyright (C) 1998 The Free Software Foundation
- *
- * Author: Federico Mena <federico@nuclecu.unam.mx>
- */
-
-#include <config.h>
-#include "year-view.h"
-
-
-static void week_view_class_init (WeekViewClass *class);
-static void week_view_init (WeekView *wv);
-
-
-GtkType
-week_view_get_type (void)
-{
- static GtkType week_view_type = 0;
-
- if (!week_view_type) {
- GtkTypeInfo week_view_info = {
- "WeekView",
- sizeof (WeekView),
- sizeof (WeekViewClass),
- (GtkClassInitFunc) week_view_class_init,
- (GtkObjectInitFunc) week_view_init,
- NULL, /* reserved_1 */
- NULL, /* reserved_2 */
- (GtkClassInitFunc) NULL
- };
-
- week_view_type = gtk_type_unique (gnome_canvas_get_type (), &week_view_info);
- }
-
- return week_view_type;
-}
-
-static void
-week_view_class_init (WeekViewClass *class)
-{
- /* FIXME */
-}
-
-static void
-week_view_init (WeekView *wv)
-{
- GnomeCanvasGroup *root;
-
- root = gnome_canvas_root (GNOME_CANVAS (wv));
-
- /* Title */
-
- wv->title = gnome_canvas_item_new (root,
- gnome_canvas_text_get_type (),
- "anchor", GTK_ANCHOR_N,
- "font", HEADING_FONT,
- "fill_color", "black",
- NULL);
-}
-
-GtkWidget *
-week_view_new (GnomeCalendar *calendar, time_t week)
-{
- WeekView *wv;
-
- g_return_val_if_fail (calendar != NULL, NULL);
- g_return_val_if_fail (GNOME_IS_CALENDAR (calendar), NULL);
-
- wv = gtk_type_new (week_view_get_type ());
- wv->calendar = calendar;
-
- week_view_colors_changed (wv);
- week_view_set (wv, week);
- return GTK_WIDGET (wv);
-}
-
-void
-week_view_update (WeekView *wv, iCalObject *ico, int flags)
-{
- /* FIXME */
-}
-
-void
-week_view_set (WeekView *wv, time_t week)
-{
- /* FIXME */
-}
-
-void
-week_view_time_format_changed (WeekView *wv)
-{
- /* FIXME */
-}
-
-void
-week_view_colors_changed (WeekView *wv)
-{
- /* FIXME */
-}
diff --git a/calendar/gui/week-view.h b/calendar/gui/week-view.h
deleted file mode 100644
index 1bf6a4ed02..0000000000
--- a/calendar/gui/week-view.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/* Week view display for gncal
- *
- * Copyright (C) 1998 The Free Software Foundation
- *
- * Author: Federico Mena <federico@nuclecu.unam.mx>
- */
-
-#ifndef WEEK_VIEW_H
-#define WEEK_VIEW_H
-
-#include <libgnome/gnome-defs.h>
-#include "gnome-cal.h"
-
-BEGIN_GNOME_DECLS
-
-
-#define TYPE_WEEK_VIEW (week_view_get_type ())
-#define WEEK_VIEW(obj) (GTK_CHECK_CAST ((obj), TYPE_WEEK_VIEW, WeekView))
-#define WEEK_VIEW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), TYPE_WEEK_VIEW, WeekViewClass))
-#define IS_WEEK_VIEW(obj) (GTK_CHECK_TYPE ((obj), TYPE_WEEK_VIEW))
-#define IS_WEEK_VIEW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), TYPE_WEEK_VIEW))
-
-
-typedef struct _WeekView WeekView;
-typedef struct _WeekViewClass WeekViewClass;
-
-struct _WeekView {
- GnomeCanvas canvas;
-
- GnomeCalendar *calendar; /* The calendar we are associated to */
-
- time_t week; /* Start of the week we are viewing */
-
- GnomeCanvasItem *title; /* The title of the week view */
-};
-
-struct _WeekViewClass {
- GnomeCanvasClass parent_class;
-};
-
-
-/* Standard Gtk function */
-GtkType week_view_get_type (void);
-
-/* Creates a new week view associated to the specified calendar */
-GtkWidget *week_view_new (GnomeCalendar *calendar, time_t week);
-
-/* Notifies the week view that a calendar object has changed */
-void week_view_update (WeekView *wv, iCalObject *ico, int flags);
-
-/* Notifies the week view about a change of date */
-void week_view_set (WeekView *wv, time_t week);
-
-/* Notifies the week view that the time format has changed */
-void week_view_time_format_changed (WeekView *wv);
-
-/* Notifies the week view that the colors have changed */
-void week_view_colors_changed (WeekView *wv);
-
-
-END_GNOME_DECLS
-
-#endif