[gtk/gtk-4-2: 64/91] Allow repeated selection extension on gktlistbox
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-4-2: 64/91] Allow repeated selection extension on gktlistbox
- Date: Tue, 4 May 2021 02:05:42 +0000 (UTC)
commit f1bfbeba45905a8d10b2a514843790266d1086fe
Author: John Renner <john jrenner net>
Date: Tue Apr 20 13:52:52 2021 -0700
Allow repeated selection extension on gktlistbox
gtk/gtklistbox.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c
index c4cfe5e1f0..06e2342c59 100644
--- a/gtk/gtklistbox.c
+++ b/gtk/gtklistbox.c
@@ -1782,7 +1782,10 @@ gtk_list_box_update_selection_full (GtkListBox *box,
g_signal_emit (box, signals[ROW_SELECTED], 0, row);
}
else
- gtk_list_box_select_all_between (box, selected_row, row, FALSE);
+ {
+ gtk_list_box_select_all_between (box, selected_row, row, FALSE);
+ box->selected_row = selected_row;
+ }
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]