aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-04-04 21:24:15 +0800
committerChris Lahey <clahey@src.gnome.org>2001-04-04 21:24:15 +0800
commitfc3e2546609c72cf3311310923aa7ade61cabef7 (patch)
treec9dfd8c8a50cfe3c4931d83b73b75c2f33cbb8cf
parent314ca1477ca807dc1b082bf5cdf4e9328f6097c9 (diff)
downloadgsoc2013-evolution-fc3e2546609c72cf3311310923aa7ade61cabef7.tar.gz
gsoc2013-evolution-fc3e2546609c72cf3311310923aa7ade61cabef7.tar.zst
gsoc2013-evolution-fc3e2546609c72cf3311310923aa7ade61cabef7.zip
Added e_selection_model_cursor_activated.
2001-04-04 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h: Added e_selection_model_cursor_activated. svn path=/trunk/; revision=9177
-rw-r--r--widgets/misc/e-selection-model.c9
-rw-r--r--widgets/misc/e-selection-model.h3
2 files changed, 12 insertions, 0 deletions
diff --git a/widgets/misc/e-selection-model.c b/widgets/misc/e-selection-model.c
index eafd323abd..56562772bf 100644
--- a/widgets/misc/e-selection-model.c
+++ b/widgets/misc/e-selection-model.c
@@ -579,6 +579,15 @@ e_selection_model_cursor_changed (ESelectionModel *selection,
}
void
+e_selection_model_cursor_activated (ESelectionModel *selection,
+ int row,
+ int col)
+{
+ gtk_signal_emit(GTK_OBJECT(selection),
+ e_selection_model_signals[CURSOR_ACTIVATED], row, col);
+}
+
+void
e_selection_model_selection_changed (ESelectionModel *selection)
{
gtk_signal_emit(GTK_OBJECT(selection),
diff --git a/widgets/misc/e-selection-model.h b/widgets/misc/e-selection-model.h
index 0fc7b27be3..cdd161f96a 100644
--- a/widgets/misc/e-selection-model.h
+++ b/widgets/misc/e-selection-model.h
@@ -119,6 +119,9 @@ void e_selection_model_set_selection_end (ESelectionModel *selection,
void e_selection_model_cursor_changed (ESelectionModel *selection,
int row,
int col);
+void e_selection_model_cursor_activated (ESelectionModel *selection,
+ int row,
+ int col);
void e_selection_model_selection_changed (ESelectionModel *selection);
#ifdef __cplusplus