summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2012-10-30 20:34:46 +0100
committerAlexander Larsson <alexl@redhat.com>2012-10-31 08:57:37 +0100
commit361d7e45de85c33f6756fa18b9606842a2a887b4 (patch)
tree081a11ba4156784ddae690fe2137c41a233dacd3
parent2e2fd291731f6bcdb4e552b7d19e7c2de44a5049 (diff)
Disable selection mode before going to properties view
We kept showing the selection bar in the properties view, and we returned to a half-broken selection mode. Lets just disable selection mode before going to the properties view. https://bugzilla.gnome.org/show_bug.cgi?id=677714
-rw-r--r--src/app.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app.vala b/src/app.vala
index 737cc9f..4d2e076 100644
--- a/src/app.vala
+++ b/src/app.vala
@@ -646,6 +646,8 @@ private class Boxes.App: Boxes.UI {
public void show_properties () {
var selected_items = view.get_selected_items ();
+ selection_mode = false;
+
// Show for the first selected item
foreach (var item in selected_items) {
current_item = item;