forked from AuroraMiddleware/gtk
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:
parent
e9d966488b
commit
ce949c0f25
@ -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");
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user