aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table.c10
-rw-r--r--widgets/table/e-tree.c9
2 files changed, 14 insertions, 5 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index f5cd6c0d16..2656f7f949 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -55,8 +55,6 @@
#define COLUMN_HEADER_HEIGHT 16
-G_DEFINE_TYPE (ETable, e_table, GTK_TYPE_TABLE)
-
#define d(x)
#if d(!)0
@@ -77,6 +75,11 @@ enum {
STATE_CHANGE,
WHITE_SPACE_EVENT,
+ CUT_CLIPBOARD,
+ COPY_CLIPBOARD,
+ PASTE_CLIPBOARD,
+ SELECT_ALL,
+
TABLE_DRAG_BEGIN,
TABLE_DRAG_END,
TABLE_DRAG_DATA_GET,
@@ -159,6 +162,8 @@ static gint et_focus (GtkWidget *container, GtkDirectionType direction);
static void scroll_off (ETable *et);
static void scroll_on (ETable *et, guint scroll_direction);
+G_DEFINE_TYPE (ETable, e_table, GTK_TYPE_TABLE)
+
static void
et_disconnect_model (ETable *et)
{
@@ -3357,4 +3362,3 @@ e_table_class_init (ETableClass *class)
gal_a11y_e_table_init ();
}
-
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index 38c7a5111b..ba50be0625 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -54,8 +54,6 @@
#define COLUMN_HEADER_HEIGHT 16
-G_DEFINE_TYPE (ETree, e_tree, GTK_TYPE_TABLE)
-
#define d(x)
#if d(!)0
@@ -76,6 +74,11 @@ enum {
STATE_CHANGE,
WHITE_SPACE_EVENT,
+ CUT_CLIPBOARD,
+ COPY_CLIPBOARD,
+ PASTE_CLIPBOARD,
+ SELECT_ALL,
+
TREE_DRAG_BEGIN,
TREE_DRAG_END,
TREE_DRAG_DATA_GET,
@@ -245,6 +248,8 @@ static void hover_off (ETree *et);
static void hover_on (ETree *et, gint x, gint y);
static void context_destroyed (gpointer data, GObject *ctx);
+G_DEFINE_TYPE (ETree, e_tree, GTK_TYPE_TABLE)
+
static void
et_disconnect_from_etta (ETree *et)
{