diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-09-26 05:24:22 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-09-26 05:24:22 +0800 |
commit | 650c4690b2040f83c032b67a271b996f876fdc50 (patch) | |
tree | 0261f48453ee539fca02031f81d67943d4608960 /widgets/misc/e-selection-model.h | |
parent | a413337c28972fc703e73b90dd23b076f4857560 (diff) | |
download | gsoc2013-evolution-650c4690b2040f83c032b67a271b996f876fdc50.tar.gz gsoc2013-evolution-650c4690b2040f83c032b67a271b996f876fdc50.tar.zst gsoc2013-evolution-650c4690b2040f83c032b67a271b996f876fdc50.zip |
Commit patch from Chris to implement e_tree_right_click_up() for
correct right-click behavior in single selection mode.
svn path=/trunk/; revision=13123
Diffstat (limited to 'widgets/misc/e-selection-model.h')
-rw-r--r-- | widgets/misc/e-selection-model.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/widgets/misc/e-selection-model.h b/widgets/misc/e-selection-model.h index 6ab5db9ee6..7282357abd 100644 --- a/widgets/misc/e-selection-model.h +++ b/widgets/misc/e-selection-model.h @@ -36,6 +36,8 @@ typedef struct { GtkSelectionMode mode; ECursorMode cursor_mode; + + int old_selection; } ESelectionModel; typedef struct { @@ -70,7 +72,6 @@ typedef struct { void (*selection_changed) (ESelectionModel *esm); } ESelectionModelClass; - GtkType e_selection_model_get_type (void); void e_selection_model_do_something (ESelectionModel *esm, guint row, @@ -80,6 +81,11 @@ gboolean e_selection_model_maybe_do_something (ESelectionModel *esm, guint row, guint col, GdkModifierType state); +void e_selection_model_right_click_down (ESelectionModel *selection, + guint row, + guint col, + GdkModifierType state); +void e_selection_model_right_click_up (ESelectionModel *selection); gint e_selection_model_key_press (ESelectionModel *esm, GdkEventKey *key); void e_selection_model_select_as_key_press (ESelectionModel *esm, |