[gtk+] listbox: keep emitting ::row-selected



commit 69ef54bcd9667e47d897c8cc7ea8f80926d2c818
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Apr 7 23:17:56 2014 -0400

    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.

 gtk/gtklistbox.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c
index 36abbda..d67440f 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);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]