[gnome-logs] Disallow selection in GlEventView
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-logs] Disallow selection in GlEventView
- Date: Mon, 3 Mar 2014 13:13:43 +0000 (UTC)
commit ab0f66db1664b0d2c18d04c6d30bbcce04426887
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 4b6a90f..09c1822 100644
--- a/src/gl-eventview.c
+++ b/src/gl-eventview.c
@@ -235,6 +235,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]