Mercurial > pidgin
comparison libpurple/plugins/idle.c @ 21235:fba1f6c3df0b
Converted string literal UI hints to #define-ed constants and fixed two cast-warnings in gtkblist.c
author | Gabriel Schulhof <nix@go-nix.ca> |
---|---|
date | Sun, 14 Oct 2007 18:07:19 +0000 |
parents | cab348e39751 |
children | 73c5f5bfeb39 a20ef7180680 |
comparison
equal
deleted
inserted
replaced
21234:aabe638f56d9 | 21235:fba1f6c3df0b |
---|---|
167 NULL, | 167 NULL, |
168 request, | 168 request, |
169 _("_Set"), G_CALLBACK(idle_action_ok), | 169 _("_Set"), G_CALLBACK(idle_action_ok), |
170 _("_Cancel"), NULL, | 170 _("_Cancel"), NULL, |
171 NULL, NULL, NULL, | 171 NULL, NULL, NULL, |
172 "account", NULL); | 172 PURPLE_REQUEST_HINT_ACCOUNT, NULL); |
173 } | 173 } |
174 | 174 |
175 static void | 175 static void |
176 unidle_action(PurplePluginAction *action) | 176 unidle_action(PurplePluginAction *action) |
177 { | 177 { |
201 NULL, | 201 NULL, |
202 request, | 202 request, |
203 _("_Unset"), G_CALLBACK(unidle_action_ok), | 203 _("_Unset"), G_CALLBACK(unidle_action_ok), |
204 _("_Cancel"), NULL, | 204 _("_Cancel"), NULL, |
205 NULL, NULL, NULL, | 205 NULL, NULL, NULL, |
206 "account", NULL); | 206 PURPLE_REQUEST_HINT_ACCOUNT, NULL); |
207 } | 207 } |
208 | 208 |
209 static void | 209 static void |
210 idle_all_action(PurplePluginAction *action) | 210 idle_all_action(PurplePluginAction *action) |
211 { | 211 { |
227 NULL, | 227 NULL, |
228 request, | 228 request, |
229 _("_Set"), G_CALLBACK(idle_all_action_ok), | 229 _("_Set"), G_CALLBACK(idle_all_action_ok), |
230 _("_Cancel"), NULL, | 230 _("_Cancel"), NULL, |
231 NULL, NULL, NULL, | 231 NULL, NULL, NULL, |
232 "account", NULL); | 232 PURPLE_REQUEST_HINT_ACCOUNT, NULL); |
233 } | 233 } |
234 | 234 |
235 static void | 235 static void |
236 unidle_all_action(PurplePluginAction *action) | 236 unidle_all_action(PurplePluginAction *action) |
237 { | 237 { |