| 129 |
129 |
| 130 static void |
130 static void |
| 131 pidgin_credential_provider_row_init(PidginCredentialProviderRow *row) |
131 pidgin_credential_provider_row_init(PidginCredentialProviderRow *row) |
| 132 { |
132 { |
| 133 gtk_widget_init_template(GTK_WIDGET(row)); |
133 gtk_widget_init_template(GTK_WIDGET(row)); |
| 134 |
|
| 135 /* If this row is active, then enable the provider properties button (which |
|
| 136 * may or may not be visible). */ |
|
| 137 g_object_bind_property(G_OBJECT(row), "active", |
|
| 138 G_OBJECT(row->configure), "sensitive", |
|
| 139 G_BINDING_DEFAULT); |
|
| 140 } |
134 } |
| 141 |
135 |
| 142 static void |
136 static void |
| 143 pidgin_credential_provider_row_class_init(PidginCredentialProviderRowClass *klass) |
137 pidgin_credential_provider_row_class_init(PidginCredentialProviderRowClass *klass) |
| 144 { |
138 { |