[gnome-contacts] ContactList: right-click == checkbox toggle in selection mode.
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] ContactList: right-click == checkbox toggle in selection mode.
- Date: Mon, 22 Jan 2018 21:36:53 +0000 (UTC)
commit 4d52db4d94ca6b5bf68d2de5b35283a76aac25af
Author: Niels De Graef <nielsdegraef gmail com>
Date: Mon Jan 22 22:35:03 2018 +0100
ContactList: right-click == checkbox toggle in selection mode.
This, together with the previous commit, fixes
[bug 703201](https://bugzilla.gnome.org/show_bug.cgi?id=703201).
src/contacts-contact-list.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/contacts-contact-list.vala b/src/contacts-contact-list.vala
index f45bb2f..950b990 100644
--- a/src/contacts-contact-list.vala
+++ b/src/contacts-contact-list.vala
@@ -272,7 +272,7 @@ public class Contacts.ContactList : ListBox {
if (event.button == Gdk.BUTTON_SECONDARY) {
var row = (ContactDataRow) get_row_at_y ((int) Math.round (event.y));
select_row (row);
- row.selector_button.active = (this.state != UiState.SELECTING);
+ row.selector_button.active = (this.state != UiState.SELECTING) || !row.selector_button.active;
}
return false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]