diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-04-13 20:06:31 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-04-13 20:06:31 +0800 |
commit | 3b06548b39ecad5f36ee8cdf5d6d091e5dbcff97 (patch) | |
tree | 1d9081f3b7e71f5294952376d1cf9b544f5ad633 /widgets | |
parent | 275c3b3debf4db4b5eb2298333cfddcc48a9b75d (diff) | |
download | gsoc2013-evolution-3b06548b39ecad5f36ee8cdf5d6d091e5dbcff97.tar.gz gsoc2013-evolution-3b06548b39ecad5f36ee8cdf5d6d091e5dbcff97.tar.zst gsoc2013-evolution-3b06548b39ecad5f36ee8cdf5d6d091e5dbcff97.zip |
Always emit the cursor changed signal. Even if it's changed to the same
2001-04-13 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-selection-model.c
(e_selection_model_do_something): Always emit the cursor changed
signal. Even if it's changed to the same row/column.
svn path=/trunk/; revision=9297
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-selection-model.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/widgets/misc/e-selection-model.c b/widgets/misc/e-selection-model.c index 56562772bf..8734bd58ad 100644 --- a/widgets/misc/e-selection-model.c +++ b/widgets/misc/e-selection-model.c @@ -398,14 +398,11 @@ e_selection_model_do_something (ESelectionModel *selection, } break; } - if (e_selection_model_cursor_row(selection) != row || - e_selection_model_cursor_col(selection) != col) { - e_selection_model_change_cursor(selection, row, col); - gtk_signal_emit(GTK_OBJECT(selection), - e_selection_model_signals[CURSOR_CHANGED], row, col); - gtk_signal_emit(GTK_OBJECT(selection), - e_selection_model_signals[CURSOR_ACTIVATED], row, col); - } + e_selection_model_change_cursor(selection, row, col); + gtk_signal_emit(GTK_OBJECT(selection), + e_selection_model_signals[CURSOR_CHANGED], row, col); + gtk_signal_emit(GTK_OBJECT(selection), + e_selection_model_signals[CURSOR_ACTIVATED], row, col); } } |