[gnome-boxes] Do not show rounded rectangle when clicking box
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Do not show rounded rectangle when clicking box
- Date: Wed, 13 Jun 2012 14:08:18 +0000 (UTC)
commit 6800b9860b889a2e6fdd276f38b983ff4f600bde
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date: Sat Jun 9 00:33:34 2012 +0200
Do not show rounded rectangle when clicking box
There is no need to do icon view selection to have items activated.
https://bugzilla.gnome.org/show_bug.cgi?id=674669
src/collection-view.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/collection-view.vala b/src/collection-view.vala
index 562ddbc..a2e9e1a 100644
--- a/src/collection-view.vala
+++ b/src/collection-view.vala
@@ -32,7 +32,7 @@ private class Boxes.CollectionView: Boxes.UI {
setup_view ();
App.app.notify["selection-mode"].connect (() => {
- var mode = App.app.selection_mode ? Gtk.SelectionMode.MULTIPLE : Gtk.SelectionMode.SINGLE;
+ var mode = App.app.selection_mode ? Gtk.SelectionMode.MULTIPLE : Gtk.SelectionMode.NONE;
icon_view.set_selection_mode (mode);
});
}
@@ -203,7 +203,7 @@ private class Boxes.CollectionView: Boxes.UI {
icon_view.column_spacing = 20;
icon_view.margin = 16;
icon_view_activate_on_single_click (icon_view, true);
- icon_view.set_selection_mode (Gtk.SelectionMode.SINGLE);
+ icon_view.set_selection_mode (Gtk.SelectionMode.NONE);
icon_view.item_activated.connect ((view, path) => {
var item = get_item_for_path (path);
App.app.select_item (item);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]