Commit e56d3a3f authored by Felipe Borges's avatar Felipe Borges 👣

wizard-downloads: Add "Show more" button to list all OSes

According to the mockups at
https://raw.githubusercontent.com/gnome-design-team/
gnome-mockups/master/boxes/wires/newbox-assistant.png
parent 5e4afc79
......@@ -14,9 +14,18 @@
<child>
<object class="GtkListBox" id="recommended_listbox">
<property name="visible">True</property>
<property name="vexpand">True</property>
<signal name="row-activated" handler="on_listbox_row_activated"/>
</object>
</child>
<child>
<object class="GtkButton" id="show_more_button">
<property name="visible">True</property>
<property name="label" translatable="yes">Show more…</property>
<signal name="clicked" handler="on_show_more_button_clicked"/>
</object>
</child>
</object>
<packing>
<property name="name">recommended</property>
......
......@@ -64,4 +64,9 @@ private void on_listbox_row_activated (Gtk.ListBoxRow row) {
download_chosen_func (entry);
}
[GtkCallback]
private void on_show_more_button_clicked () {
search.text = " ";
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment