diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-08-25 05:13:17 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-08-25 05:13:17 +0800 |
commit | 5e1949f93523c93bd8a1384e2c71a12e0717219d (patch) | |
tree | 7731a10fafe498700b4d95841cef912aa16d8762 /widgets/e-table/e-table-group-container.c | |
parent | 3877d4077d333964b165d45e3e400a2b5ea1296f (diff) | |
download | gsoc2013-evolution-5e1949f93523c93bd8a1384e2c71a12e0717219d.tar gsoc2013-evolution-5e1949f93523c93bd8a1384e2c71a12e0717219d.tar.gz gsoc2013-evolution-5e1949f93523c93bd8a1384e2c71a12e0717219d.tar.bz2 gsoc2013-evolution-5e1949f93523c93bd8a1384e2c71a12e0717219d.tar.lz gsoc2013-evolution-5e1949f93523c93bd8a1384e2c71a12e0717219d.tar.xz gsoc2013-evolution-5e1949f93523c93bd8a1384e2c71a12e0717219d.tar.zst gsoc2013-evolution-5e1949f93523c93bd8a1384e2c71a12e0717219d.zip |
Added a click signal which gets sent if the user hits the left or middle
2000-08-24 Christopher James Lahey <clahey@helixcode.com>
* e-table-group-container.c, e-table-group-leaf.c,
e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h,
e-table.c, e-table.h: Added a click signal which gets sent if the
user hits the left or middle mouse button on a cell.
svn path=/trunk/; revision=5020
Diffstat (limited to 'widgets/e-table/e-table-group-container.c')
-rw-r--r-- | widgets/e-table/e-table-group-container.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/widgets/e-table/e-table-group-container.c b/widgets/e-table/e-table-group-container.c index 3a68bc044b..7118ffae0b 100644 --- a/widgets/e-table/e-table-group-container.c +++ b/widgets/e-table/e-table-group-container.c @@ -341,6 +341,13 @@ child_right_click (ETableGroup *etg, int row, int col, GdkEvent *event, } static gint +child_click (ETableGroup *etg, int row, int col, GdkEvent *event, + ETableGroupContainer *etgc) +{ + return e_table_group_click (E_TABLE_GROUP (etgc), row, col, event); +} + +static gint child_key_press (ETableGroup *etg, int row, int col, GdkEvent *event, ETableGroupContainer *etgc) { @@ -401,6 +408,8 @@ etgc_add (ETableGroup *etg, gint row) GTK_SIGNAL_FUNC (child_double_click), etgc); gtk_signal_connect (GTK_OBJECT (child), "right_click", GTK_SIGNAL_FUNC (child_right_click), etgc); + gtk_signal_connect (GTK_OBJECT (child), "click", + GTK_SIGNAL_FUNC (child_click), etgc); gtk_signal_connect (GTK_OBJECT (child), "key_press", GTK_SIGNAL_FUNC (child_key_press), etgc); child_node->child = child; |