diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-06-06 13:50:12 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-06-06 13:50:12 +0800 |
commit | 06978bc7368680efabec6a2cde14c74ca5201d04 (patch) | |
tree | 9b01fb6ea232dbb144e7ae5687a004c98bf1272b /widgets/table/e-table-group-container.c | |
parent | ce74cc7bb1d1a3f27d93dfa2842a9f13e461714f (diff) | |
download | gsoc2013-evolution-06978bc7368680efabec6a2cde14c74ca5201d04.tar.gz gsoc2013-evolution-06978bc7368680efabec6a2cde14c74ca5201d04.tar.zst gsoc2013-evolution-06978bc7368680efabec6a2cde14c74ca5201d04.zip |
Added a right click signal.
2000-06-06 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 right click signal.
* e-table-sorted-variable.c: Fixed a buffer overrun.
svn path=/trunk/; revision=3437
Diffstat (limited to 'widgets/table/e-table-group-container.c')
-rw-r--r-- | widgets/table/e-table-group-container.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/widgets/table/e-table-group-container.c b/widgets/table/e-table-group-container.c index 4aa7e2fe8a..a2e9575bcb 100644 --- a/widgets/table/e-table-group-container.c +++ b/widgets/table/e-table-group-container.c @@ -324,6 +324,13 @@ child_double_click (ETableGroup *etg, int row, } static gint +child_right_click (ETableGroup *etg, int row, int col, GdkEvent *event, + ETableGroupContainer *etgc) +{ + return e_table_group_right_click (E_TABLE_GROUP (etgc), row, col, event); +} + +static gint child_key_press (ETableGroup *etg, int row, int col, GdkEvent *event, ETableGroupContainer *etgc) { @@ -385,6 +392,8 @@ etgc_add (ETableGroup *etg, gint row) GTK_SIGNAL_FUNC (child_cursor_change), etgc); gtk_signal_connect (GTK_OBJECT (child), "double_click", 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), "key_press", GTK_SIGNAL_FUNC (child_key_press), etgc); child_node->child = child; |