summaryrefslogtreecommitdiff
path: root/gtk/gtklistbox.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-04-07 23:17:56 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-04-07 23:17:56 -0400
commit69ef54bcd9667e47d897c8cc7ea8f80926d2c818 (patch)
treedebee01331f881b9df570bf13febe628afe8b742 /gtk/gtklistbox.c
parent2a9d22c8951238da07c3f11c80c79b166744394d (diff)
downloadgtk+-69ef54bcd9667e47d897c8cc7ea8f80926d2c818.tar.gz
listbox: keep emitting ::row-selected
This was accidentally lost when multi-selection was added, causing sidebars like the one in gnome-contacts or polari to not work any more.
Diffstat (limited to 'gtk/gtklistbox.c')
-rw-r--r--gtk/gtklistbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c
index 36abbda606..d67440f494 100644
--- a/gtk/gtklistbox.c
+++ b/gtk/gtklistbox.c
@@ -1394,6 +1394,7 @@ gtk_list_box_select_row_internal (GtkListBox *box,
gtk_list_box_row_set_selected (row, TRUE);
BOX_PRIV (box)->selected_row = row;
+ g_signal_emit (box, signals[ROW_SELECTED], 0, row);
g_signal_emit (box, signals[SELECTED_ROWS_CHANGED], 0);
}