aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-table-group.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-table/e-table-group.c')
-rw-r--r--widgets/e-table/e-table-group.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/widgets/e-table/e-table-group.c b/widgets/e-table/e-table-group.c
index fbd9026096..213a94969f 100644
--- a/widgets/e-table/e-table-group.c
+++ b/widgets/e-table/e-table-group.c
@@ -28,6 +28,7 @@ enum {
CURSOR_CHANGE,
DOUBLE_CLICK,
RIGHT_CLICK,
+ CLICK,
KEY_PRESS,
LAST_SIGNAL
};
@@ -298,6 +299,21 @@ e_table_group_right_click (ETableGroup *e_table_group, gint row, gint col, GdkEv
}
gint
+e_table_group_click (ETableGroup *e_table_group, gint row, gint col, GdkEvent *event)
+{
+ gint return_val = 0;
+
+ g_return_val_if_fail (e_table_group != NULL, 0);
+ g_return_val_if_fail (E_IS_TABLE_GROUP (e_table_group), 0);
+
+ gtk_signal_emit (GTK_OBJECT (e_table_group),
+ etg_signals [CLICK],
+ row, col, event, &return_val);
+
+ return return_val;
+}
+
+gint
e_table_group_key_press (ETableGroup *e_table_group, gint row, gint col, GdkEvent *event)
{
gint return_val = 0;
@@ -363,6 +379,7 @@ etg_class_init (GtkObjectClass *object_class)
klass->cursor_change = NULL;
klass->double_click = NULL;
klass->right_click = NULL;
+ klass->click = NULL;
klass->key_press = NULL;
klass->add = NULL;
@@ -406,6 +423,14 @@ etg_class_init (GtkObjectClass *object_class)
e_marshal_INT__INT_INT_POINTER,
GTK_TYPE_INT, 3, GTK_TYPE_INT, GTK_TYPE_INT, GTK_TYPE_POINTER);
+ etg_signals [CLICK] =
+ gtk_signal_new ("click",
+ GTK_RUN_LAST,
+ object_class->type,
+ GTK_SIGNAL_OFFSET (ETableGroupClass, click),
+ e_marshal_INT__INT_INT_POINTER,
+ GTK_TYPE_INT, 3, GTK_TYPE_INT, GTK_TYPE_INT, GTK_TYPE_POINTER);
+
etg_signals [KEY_PRESS] =
gtk_signal_new ("key_press",
GTK_RUN_LAST,
dabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&id=464da109e229a049e65caf42b947bb2f292fa9e2'>Update to 4.3.3.jkim2014-11-011-4/+4 * KDE/FreeBSD team presents KDE SC 4.14.2 and KDE Workspace 4.11.13!makc2014-10-193-40/+37 * Update to 4.3.2.jkim2014-10-172-5/+4 * Update the default version of GCC in the Ports Collection from GCC 4.7.4gerald2014-09-113-2/+3 * Upgrade OpenEXR and ilmbase to 2.2.0.mandree2014-08-162-1/+2 * Update to 4.2.5.jkim2014-06-241-4/+4 * Stagify.vanilla2014-06-172-2/+0 * Update to libreoffice 4.2.4bapt2014-06-111-4/+4 * KDE/FreeBSD team presents KDE SC 4.12.5 and KDE Workspace 4.11.9!makc2014-05-111-2/+2 * Update to 4.1.6.jkim2014-05-071-4/+4 * KDE/FreeBSD team presents KDE SC 4.12.4 and KDE Workspace 4.11.8!makc2014-04-031-2/+2 * Convert h* to USES=zipbapt2014-03-102-2/+2 * KDE/FreeBSD team presents KDE SC 4.12.3 and KDE Workspace 4.11.7!makc2014-03-051-2/+2 * Update to 4.1.5. It is partially based on the following PR.jkim2014-02-261-4/+4 * - Bump PORTREVISION after KDE4_PREFIX changemakc2014-02-181-0/+1 * KDE/FreeBSD team presents KDE SC 4.12.2 and KDE Workspace 4.11.6!makc2014-02-183-19/+39 * Support stagingehaupt2014-02-181-2/+1 * Support stagingehaupt2014-02-181-4/+3 * Remove ispell which is deprecated for long, consider using aspell instead or ...bapt2014-01-297-307/+0 * - Update Calligra Suite to 2.7.5.avilla2013-12-173-3/+4 * Stagifybapt2013-11-041-4/+3 * Stagifybapt2013-11-041-4/+3 * Support stage, use bsdtar to extractbapt2013-11-041-3/+2 * Stagifybapt2013-11-041-1/+0 * - Update to 4.0.6.jkim2013-10-262-5/+4 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-2112-15/+13 * Update to 4.0.5.jkim2013-08-231-4/+4 * KDE3 and QT3 expired on 2013-07-01, remove these ports.rene2013-07-275-1134/+0 * Fix INDEX by really fixing the kde4-l10n portsbapt2013-07-101-0/+1 * KDE4 l10n fixes.rakuco2013-07-102-3/+1 * Update the KDE Software Compilation to 4.10.5.rakuco2013-07-051-2/+2 * Update to KDE SC 4.10.4, proudly presented by the KDE on FreeBSD team.rakuco2013-07-031-2/+2 * Update to 4.0.4.jkim2013-06-201-4/+4 * KDE/FreeBSD team presents KDE SC 4.10.3 ports!makc2013-05-192-4/+2 * Update to 4.0.3.jkim2013-05-101-4/+4 * - Convert USE_GETTEXT to USES (part 2)ak2013-04-241-1/+1 * Update to 4.0.2.jkim2013-04-171-4/+4 * - Update Calligra and l10n ports to 2.6.2:avilla2013-03-302-7/+5 * KDE/FreeBSD team presents KDE SC 4.10.1 ports!makc2013-03-273-16/+33 * Update to 4.0.1.jkim2013-03-091-4/+4 * Merge from area51 repository:makc2013-02-052-3/+3 * Update to 3.6.5.jkim2013-02-051-4/+4 * KDE/FreeBSD team presents KDE SC 4.9.5 ports!makc2013-02-043-30/+40 * - Change MAINTAINER addresstabthorpe2013-01-106-34/+10 * - Deprecate QT3, KDE3 and unmaintained ports depending on them. QT 3.3.8beat2012-12-301-0/+3 * - Update to 3.5.7.jkim2012-10-272-9/+4 * - Update Calligra Suite to 2.5.2.avilla2012-09-171-2/+2 * - Update Calligra to 2.5.1.avilla2012-09-012-7/+2 * The KDE/FreeBSD team is pleased to announce version 2.5 of Calligra,avilla2012-08-262-11/+3 * - Update to 3.5.6.jkim2012-08-241-4/+4 * Fix typos in COMMENTcs2012-07-291-1/+1 * - Update LibreOffice and the language packs to 3.5.5.jkim2012-07-181-4/+4 * - Update Calligra to 2.4.3.avilla2012-07-052-2/+4 * - The FreeBSD Office team is proud to announce LibreOffice.org 3.5.4 releasefluffy2012-07-011-4/+4 * KDE/FreeBSD team presents KDE SC 4.8.4, probably the last release in 4.8.x se...makc2012-06-152-3/+2 * - update png to 1.5.10dinoex2012-06-012-1/+2 * - Remove koffice-i18n ports, as they are not very useful withoutavilla2012-05-315-68/+0 * The KDE/FreeBSD team is pleased to announce Calligra Suite 2.4.2, KDEavilla2012-05-319-108/+47