aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-selection-model.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-selection-model.c')
-rw-r--r--widgets/misc/e-selection-model.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/widgets/misc/e-selection-model.c b/widgets/misc/e-selection-model.c
index ec641e8373..3fd28a7db2 100644
--- a/widgets/misc/e-selection-model.c
+++ b/widgets/misc/e-selection-model.c
@@ -422,7 +422,7 @@ e_selection_model_do_something (ESelectionModel *selection,
* right clicks and other events where if the user hit the selection,
* they don't want it to change.
*/
-void
+gboolean
e_selection_model_maybe_do_something (ESelectionModel *selection,
guint row,
guint col,
@@ -432,8 +432,10 @@ e_selection_model_maybe_do_something (ESelectionModel *selection,
e_selection_model_change_cursor(selection, row, col);
gtk_signal_emit(GTK_OBJECT(selection),
e_selection_model_signals[CURSOR_CHANGED], row, col);
+ return FALSE;
} else {
e_selection_model_do_something(selection, row, col, state);
+ return TRUE;
}
}