[gnome-boxes/none-selection-mode-for-lists] wizard: Set selection-mode to None across lists
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/none-selection-mode-for-lists] wizard: Set selection-mode to None across lists
- Date: Mon, 12 Nov 2018 19:26:43 +0000 (UTC)
commit 967de14379e16fb34d4fa566663a2ee9368538ba
Author: Felipe Borges <felipeborges gnome org>
Date: Mon Nov 12 20:24:41 2018 +0100
wizard: Set selection-mode to None across lists
All our lists in the Wizard are acting like buttons. Once you click
them, it gets you into another page. This way there's no point on
keeping track of the selected item.
This fixes some visual problems we have with non-standard themes
which don't draw the :selected selector with the wizard background
color.
data/ui/wizard-downloads-page.ui | 2 ++
data/ui/wizard-scrolled.ui | 1 +
2 files changed, 3 insertions(+)
---
diff --git a/data/ui/wizard-downloads-page.ui b/data/ui/wizard-downloads-page.ui
index 03c09b3a..fae096b5 100644
--- a/data/ui/wizard-downloads-page.ui
+++ b/data/ui/wizard-downloads-page.ui
@@ -15,6 +15,7 @@
<object class="GtkListBox" id="recommended_listbox">
<property name="visible">True</property>
<property name="vexpand">True</property>
+ <property name="selection-mode">none</property>
<signal name="row-activated" handler="on_listbox_row_activated"/>
</object>
</child>
@@ -48,6 +49,7 @@
<child>
<object class="GtkListBox" id="listbox">
<property name="visible">True</property>
+ <property name="selection-mode">none</property>
<signal name="row-activated" handler="on_listbox_row_activated"/>
</object>
</child>
diff --git a/data/ui/wizard-scrolled.ui b/data/ui/wizard-scrolled.ui
index 097faa08..6532cfc9 100644
--- a/data/ui/wizard-scrolled.ui
+++ b/data/ui/wizard-scrolled.ui
@@ -12,6 +12,7 @@
<child>
<object class="GtkListBox" id="vbox">
<property name="visible">True</property>
+ <property name="selection-mode">none</property>
</object>
</child>
</template>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]