[gitg] dash: do not allow selection and use one single click
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] dash: do not allow selection and use one single click
- Date: Mon, 11 Mar 2013 07:31:54 +0000 (UTC)
commit 297cdef2709fe04dc2266c786c6c8e29a257916f
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Mar 11 08:31:33 2013 +0100
dash: do not allow selection and use one single click
libgitg-gtk/gitg-gtk-dash-view.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libgitg-gtk/gitg-gtk-dash-view.vala b/libgitg-gtk/gitg-gtk-dash-view.vala
index 7ed1576..72655e9 100644
--- a/libgitg-gtk/gitg-gtk-dash-view.vala
+++ b/libgitg-gtk/gitg-gtk-dash-view.vala
@@ -46,7 +46,8 @@ namespace GitgGtk
d_listbox.show();
add(d_listbox);
- d_listbox.set_activate_on_single_click(false);
+ d_listbox.set_selection_mode (Gtk.SelectionMode.NONE);
+
d_listbox.child_activated.connect((listbox, child) => {
var data = child.get_data<RepositoryData>("data");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]