widget-factory: Cosmetic changes

Change which rows in the listbox on page 2 are activatable,
and trigger a dialog. It did not really make sense that this
would happen when clicking on the spin button to focus it.
This commit is contained in:
Matthias Clasen 2020-05-13 19:21:50 -04:00
parent e9d966488b
commit ce949c0f25
2 changed files with 4 additions and 1 deletions

View File

@ -1936,8 +1936,10 @@ activate (GApplication *app)
widget2 = (GtkWidget *)gtk_builder_get_object (builder, "listboxrow3image");
g_object_set_data (G_OBJECT (widget), "image", widget2);
widget = (GtkWidget *)gtk_builder_get_object (builder, "listboxrow4");
widget2 = (GtkWidget *)gtk_builder_get_object (builder, "info_dialog");
widget = (GtkWidget *)gtk_builder_get_object (builder, "listboxrow7");
g_object_set_data (G_OBJECT (widget), "dialog", widget2);
widget = (GtkWidget *)gtk_builder_get_object (builder, "listboxrow8");
g_object_set_data (G_OBJECT (widget), "dialog", widget2);
widget = (GtkWidget *)gtk_builder_get_object (builder, "listboxrow5button");

View File

@ -1759,6 +1759,7 @@ microphone-sensitivity-medium-symbolic</property>
</child>
<child>
<object class="GtkListBoxRow" id="listboxrow4">
<property name="activatable">0</property>
<child>
<object class="GtkBox">
<child>