| 139 * PidginPresenceIcon:presence: |
139 * PidginPresenceIcon:presence: |
| 140 * |
140 * |
| 141 * The presence that this icon will be representing. |
141 * The presence that this icon will be representing. |
| 142 */ |
142 */ |
| 143 properties[PROP_PRESENCE] = g_param_spec_object( |
143 properties[PROP_PRESENCE] = g_param_spec_object( |
| 144 "presence", "presence", |
144 "presence", NULL, NULL, |
| 145 "The presence that this icon is representing", |
|
| 146 PURPLE_TYPE_PRESENCE, |
145 PURPLE_TYPE_PRESENCE, |
| 147 G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS); |
146 G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS); |
| 148 |
147 |
| 149 /** |
148 /** |
| 150 * PidginPresenceIcon:fallback: |
149 * PidginPresenceIcon:fallback: |
| 151 * |
150 * |
| 152 * The name of the icon to use as a fallback when no presence is set. |
151 * The name of the icon to use as a fallback when no presence is set. |
| 153 */ |
152 */ |
| 154 properties[PROP_FALLBACK] = g_param_spec_string( |
153 properties[PROP_FALLBACK] = g_param_spec_string( |
| 155 "fallback", "fallback", |
154 "fallback", NULL, NULL, |
| 156 "The name of the icon to use as a fallback", |
|
| 157 "pidgin-user-invisible", |
155 "pidgin-user-invisible", |
| 158 G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS); |
156 G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS); |
| 159 |
157 |
| 160 /** |
158 /** |
| 161 * PidginPresenceIcon:icon-size: |
159 * PidginPresenceIcon:icon-size: |
| 162 * |
160 * |
| 163 * The size of the icon that should be used. |
161 * The size of the icon that should be used. |
| 164 */ |
162 */ |
| 165 properties[PROP_ICON_SIZE] = g_param_spec_enum( |
163 properties[PROP_ICON_SIZE] = g_param_spec_enum( |
| 166 "icon-size", "icon-size", |
164 "icon-size", NULL, NULL, |
| 167 "The GtkIconSize to use", |
|
| 168 GTK_TYPE_ICON_SIZE, |
165 GTK_TYPE_ICON_SIZE, |
| 169 GTK_ICON_SIZE_NORMAL, |
166 GTK_ICON_SIZE_NORMAL, |
| 170 G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS); |
167 G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS); |
| 171 |
168 |
| 172 g_object_class_install_properties(obj_class, N_PROPERTIES, properties); |
169 g_object_class_install_properties(obj_class, N_PROPERTIES, properties); |