diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-12-08 06:20:49 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-12-08 14:55:28 +0800 |
commit | dd65b18ddf2f4e7fdc108b0ed147658c36103eea (patch) | |
tree | 063b83f2bd337c34bcb573cbae4b6d60ec34eab6 /calendar/gui/e-calendar-table.h | |
parent | eb60a4e448fff45d0db5a5856cb19e3abb90a9e0 (diff) | |
download | gsoc2013-evolution-dd65b18ddf2f4e7fdc108b0ed147658c36103eea.tar gsoc2013-evolution-dd65b18ddf2f4e7fdc108b0ed147658c36103eea.tar.gz gsoc2013-evolution-dd65b18ddf2f4e7fdc108b0ed147658c36103eea.tar.bz2 gsoc2013-evolution-dd65b18ddf2f4e7fdc108b0ed147658c36103eea.tar.lz gsoc2013-evolution-dd65b18ddf2f4e7fdc108b0ed147658c36103eea.tar.xz gsoc2013-evolution-dd65b18ddf2f4e7fdc108b0ed147658c36103eea.tar.zst gsoc2013-evolution-dd65b18ddf2f4e7fdc108b0ed147658c36103eea.zip |
Kill ETableScrolled.
ETableScrolled is nothing but a GtkScrolledWindow containing an ETable.
It adds nothing of value and actually makes customizing ETable harder.
Diffstat (limited to 'calendar/gui/e-calendar-table.h')
-rw-r--r-- | calendar/gui/e-calendar-table.h | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/calendar/gui/e-calendar-table.h b/calendar/gui/e-calendar-table.h index d2b376ba9d..aa98aee7fa 100644 --- a/calendar/gui/e-calendar-table.h +++ b/calendar/gui/e-calendar-table.h @@ -23,9 +23,9 @@ #ifndef _E_CALENDAR_TABLE_H_ #define _E_CALENDAR_TABLE_H_ -#include <shell/e-shell-view.h> -#include <table/e-table-scrolled.h> +#include <table/e-table.h> #include <table/e-cell-date-edit.h> +#include <shell/e-shell-view.h> #include "e-cal-model.h" /* @@ -59,9 +59,7 @@ typedef struct _ECalendarTableClass ECalendarTableClass; typedef struct _ECalendarTablePrivate ECalendarTablePrivate; struct _ECalendarTable { - GtkTable parent; - - GtkWidget *etable; + ETable parent; /* The ECell used to view & edit dates. */ ECellDateEdit *dates_cell; @@ -73,7 +71,7 @@ struct _ECalendarTable { }; struct _ECalendarTableClass { - GtkTableClass parent_class; + ETableClass parent_class; /* Signals */ void (*open_component) (ECalendarTable *cal_table, @@ -90,7 +88,6 @@ GType e_calendar_table_get_type (void); GtkWidget * e_calendar_table_new (EShellView *shell_view, ECalModel *model); ECalModel * e_calendar_table_get_model (ECalendarTable *cal_table); -ETable * e_calendar_table_get_table (ECalendarTable *cal_table); EShellView * e_calendar_table_get_shell_view (ECalendarTable *cal_table); void e_calendar_table_delete_selected(ECalendarTable *cal_table); GSList * e_calendar_table_get_selected (ECalendarTable *cal_table); @@ -100,13 +97,6 @@ void e_calendar_table_cut_clipboard (ECalendarTable *cal_table); void e_calendar_table_copy_clipboard (ECalendarTable *cal_table); void e_calendar_table_paste_clipboard(ECalendarTable *cal_table); -/* These load and save the state of the table (headers shown etc.) to/from - the given file. */ -void e_calendar_table_load_state (ECalendarTable *cal_table, - const gchar *filename); -void e_calendar_table_save_state (ECalendarTable *cal_table, - const gchar *filename); - ECalModelComponent * e_calendar_table_get_selected_comp (ECalendarTable *cal_table); |