| 118 * The [class@Purple.Account] that is selected. |
118 * The [class@Purple.Account] that is selected. |
| 119 * |
119 * |
| 120 * Since: 3.0 |
120 * Since: 3.0 |
| 121 */ |
121 */ |
| 122 properties[PROP_ACCOUNT] = g_param_spec_object( |
122 properties[PROP_ACCOUNT] = g_param_spec_object( |
| 123 "account", "account", |
123 "account", NULL, NULL, |
| 124 "The account that is selected.", |
|
| 125 PURPLE_TYPE_ACCOUNT, |
124 PURPLE_TYPE_ACCOUNT, |
| 126 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
125 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
| 127 |
126 |
| 128 /** |
127 /** |
| 129 * PidginAccountRow:filter: |
128 * PidginAccountRow:filter: |
| 131 * The filter to use on the list of accounts. |
130 * The filter to use on the list of accounts. |
| 132 * |
131 * |
| 133 * Since: 3.0 |
132 * Since: 3.0 |
| 134 */ |
133 */ |
| 135 properties[PROP_FILTER] = g_param_spec_object( |
134 properties[PROP_FILTER] = g_param_spec_object( |
| 136 "filter", "filter", |
135 "filter", NULL, NULL, |
| 137 "The filter to be applied on the list of accounts.", |
136 GTK_TYPE_FILTER, |
| 138 GTK_TYPE_FILTER, |
137 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
| 139 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
|
| 140 g_object_class_install_properties(obj_class, N_PROPERTIES, properties); |
138 g_object_class_install_properties(obj_class, N_PROPERTIES, properties); |
| 141 |
139 |
| 142 gtk_widget_class_set_template_from_resource( |
140 gtk_widget_class_set_template_from_resource( |
| 143 widget_class, |
141 widget_class, |
| 144 "/im/pidgin/Pidgin3/account-row.ui" |
142 "/im/pidgin/Pidgin3/account-row.ui" |