[gnome-logs/wip/batching] Disallow selection in GlEventView



commit ac0da89ecbb062e000d66e6de6da8da6bd856f00
Author: David King <davidk gnome org>
Date:   Wed Feb 26 17:02:47 2014 +0000

    Disallow selection in GlEventView
    
    The details view is show when a row is activated, so do not allow
    selection.

 src/gl-eventview.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gl-eventview.c b/src/gl-eventview.c
index 4e4db8a..a9c7044 100644
--- a/src/gl-eventview.c
+++ b/src/gl-eventview.c
@@ -236,6 +236,8 @@ gl_event_view_list_box_new (GlEventView *view)
                                   view, NULL);
     gtk_list_box_set_placeholder (GTK_LIST_BOX (listbox),
                                   gl_event_view_create_empty (view));
+    gtk_list_box_set_selection_mode (GTK_LIST_BOX (listbox),
+                                     GTK_SELECTION_NONE);
     g_signal_connect (listbox, "row-activated",
                       G_CALLBACK (on_listbox_row_activated), GTK_STACK (view));
 


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