forked from AuroraMiddleware/gtk
widget-factory: Use the new ::activatable property
This commit is contained in:
parent
2b9285e52e
commit
42d97c380e
@ -603,11 +603,11 @@ activate (GApplication *app)
|
||||
gtk_list_box_set_header_func (GTK_LIST_BOX (widget), update_header, NULL, NULL);
|
||||
g_signal_connect (widget, "row-activated", G_CALLBACK (row_activated), NULL);
|
||||
|
||||
widget = gtk_widget_get_parent ((GtkWidget *)gtk_builder_get_object (builder, "listboxrow3"));
|
||||
widget = (GtkWidget *)gtk_builder_get_object (builder, "listboxrow3");
|
||||
widget2 = (GtkWidget *)gtk_builder_get_object (builder, "listboxrow3image");
|
||||
g_object_set_data (G_OBJECT (widget), "image", widget2);
|
||||
|
||||
widget = gtk_widget_get_parent ((GtkWidget *)gtk_builder_get_object (builder, "listboxrow4"));
|
||||
widget = (GtkWidget *)gtk_builder_get_object (builder, "listboxrow4");
|
||||
widget2 = (GtkWidget *)gtk_builder_get_object (builder, "info_dialog");
|
||||
g_object_set_data (G_OBJECT (widget), "dialog", widget2);
|
||||
|
||||
|
@ -2102,7 +2102,11 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
|
||||
<property name="selection-mode">none</property>
|
||||
<property name="activate-on-single-click">True</property>
|
||||
<child>
|
||||
<object class="GtkBox" id="listboxrow1">
|
||||
<object class="GtkListBoxRow" id="listboxrow1">
|
||||
<property name="visible">True</property>
|
||||
<property name="activatable">False</property>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<child>
|
||||
@ -2130,8 +2134,14 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkBox" id="listboxrow2">
|
||||
<object class="GtkListBoxRow" id="listboxrow2">
|
||||
<property name="visible">True</property>
|
||||
<property name="activatable">False</property>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<child>
|
||||
@ -2163,8 +2173,14 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkBox" id="listboxrow3">
|
||||
<object class="GtkListBoxRow" id="listboxrow3">
|
||||
<property name="visible">True</property>
|
||||
<property name="activatable">True</property>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<child>
|
||||
@ -2195,8 +2211,14 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkBox" id="listboxrow4">
|
||||
<object class="GtkListBoxRow" id="listboxrow4">
|
||||
<property name="visible">True</property>
|
||||
<property name="activatable">True</property>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<child>
|
||||
@ -2233,6 +2255,8 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkSeparator">
|
||||
<property name="visible">True</property>
|
||||
|
Loading…
Reference in New Issue
Block a user